Hex Color #DB68FF - Custom Color

Color Codes

HEX
#DB68FF
RGB
rgb(219, 104, 255)
HSL
hsl(286, 100%, 70%)
CMYK
cmyk(14%, 59%, 0%, 0%)
HSV
hsv(286, 59%, 100%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 2.82:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 7.44:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)

Recommended Text Color

For best readability on this background color, use white text.

Similar Colors

Color in Use

Card with colored border

Background with 20% opacity

CSS Code

.element {
background-color: #DB68FF;
color: #DB68FF;
border-color: #DB68FF;
}

Tailwind CSS (with arbitrary values)

bg-[#DB68FF]
text-[#DB68FF]
border-[#DB68FF]
// Example usage:
<div className="bg-[#DB68FF]">