#8662DB#8662DB
#8662DB is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.1% C 0.178 H 294.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #8662DB |
|---|---|
| RGB | rgb(134, 98, 219) |
| HSL | hsl(258, 63%, 62%) |
| HSV | hsv(258, 55%, 86%) |
| CMYK | cmyk(38.8%, 55.3%, 0%, 14.1%) |
| CIE-LAB | lab(50.59, 41.58, -57.17) |
| CIE-LCH | lch(50.59, 70.69, 306.03°) |
| OKLab | oklab(59.14% 0.0723 -0.1623) |
| OKLCH | oklch(59.14% 0.178 294) |
| XYZ | xyz(26.9820, 18.9176, 69.2340) |
| Luminance | 0.1892 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.34
Mediumslateblue
#7B68EE
ΔE00 4.14
Mediumpurple
#9370DB
ΔE00 4.82
Light Indigo
#6D5ACF
ΔE00 5.47
Slate Blue
#6A5ACD
ΔE00 6.02
Dark Periwinkle
#665FD1
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8662DB #B7DB62
analogous
#627BDB #8662DB #C262DB
triadic
#8662DB #DB8662 #62DB86
tetradic
#8662DB #DB627B #B7DB62 #62DBC2
square
#8662DB #DB627B #B7DB62 #62DBC2
split-complementary
#8662DB #DBC262 #7BDB62
monochromatic
#49249E #6030D0 #8662DB #AC94E6 #D3C6F2
Accessibility & contrast
On white
4.39
#8662DB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#8662DB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8662DB
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8662DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8662DB | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#267ADF
Deuteranopia (green-blind)
#3176D8
Tritanopia (blue-blind)
#707B95
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #8662db; /* rgb */ color: rgb(134, 98, 219); /* oklch */ color: oklch(59.1% 0.178 294.0);
Tailwind
colors: {
custom: {
50: '#ae90e7',
500: '#8662db',
950: '#000000',
},
}SCSS
$custom: #8662db; $custom-light: #ae90e7; $custom-dark: #000000;
JSON
{
"hex": "#8662db",
"rgb": {
"r": 134,
"g": 98,
"b": 219
},
"hsl": {
"h": 257.851,
"s": 62.694,
"l": 62.157
},
"oklch": {
"l": 0.59141,
"c": 0.17772,
"h": 294
},
"luminance": 0.18918
}Semantic roles & 50–950 ramp
primary
#8662DB
secondary
#D5E3B6
accent
#CA1B96
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84