#8662EF#8662EF
#8662EF is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.5% C 0.203 H 290.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #8662EF |
|---|---|
| RGB | rgb(134, 98, 239) |
| HSL | hsl(255, 82%, 66%) |
| HSV | hsv(255, 59%, 94%) |
| CMYK | cmyk(43.9%, 59%, 0%, 6.3%) |
| CIE-LAB | lab(51.88, 47.01, -66.36) |
| CIE-LCH | lch(51.88, 81.32, 305.31°) |
| OKLab | oklab(60.5% 0.0721 -0.1894) |
| OKLCH | oklch(60.5% 0.203 290.8) |
| XYZ | xyz(29.7748, 20.0347, 83.9429) |
| Luminance | 0.2004 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.62
Purpley
#8756E4
ΔE00 3.75
Lighter Purple
#A55AF4
ΔE00 5.58
Mediumpurple
#9370DB
ΔE00 5.63
Lightish Purple
#A552E6
ΔE00 6.75
Light Indigo
#6D5ACF
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8662EF #CBEF62
analogous
#6284EF #8662EF #CC62EF
triadic
#8662EF #EF8662 #62EF86
tetradic
#8662EF #EF6284 #CBEF62 #62EFCC
square
#8662EF #EF6284 #CBEF62 #62EFCC
split-complementary
#8662EF #EFCC62 #84EF62
monochromatic
#4114C3 #5B2AE9 #8662EF #B19AF5 #DCD1FA
Accessibility & contrast
On white
4.19
#8662EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#8662EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8662EF
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8662EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8662EF | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EF4
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#67829F
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8662ef; /* rgb */ color: rgb(134, 98, 239); /* oklch */ color: oklch(60.5% 0.203 290.8);
Tailwind
colors: {
custom: {
50: '#b090f5',
500: '#8662ef',
950: '#000000',
},
}SCSS
$custom: #8662ef; $custom-light: #b090f5; $custom-dark: #000000;
JSON
{
"hex": "#8662ef",
"rgb": {
"r": 134,
"g": 98,
"b": 239
},
"hsl": {
"h": 255.319,
"s": 81.503,
"l": 66.078
},
"oklch": {
"l": 0.60496,
"c": 0.20263,
"h": 290.8
},
"luminance": 0.20036
}Semantic roles & 50–950 ramp
primary
#8662EF
secondary
#E2EEBF
accent
#DE08A7
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110D17
muted
#807D85