#8662F2#8662F2
#8662F2 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.7% C 0.206 H 290.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8662F2 |
|---|---|
| RGB | rgb(134, 98, 242) |
| HSL | hsl(255, 85%, 67%) |
| HSV | hsv(255, 60%, 95%) |
| CMYK | cmyk(44.6%, 59.5%, 0%, 5.1%) |
| CIE-LAB | lab(52.08, 47.83, -67.71) |
| CIE-LCH | lch(52.08, 82.90, 305.24°) |
| OKLab | oklab(60.71% 0.072 -0.1933) |
| OKLCH | oklch(60.71% 0.206 290.4) |
| XYZ | xyz(30.2217, 20.2134, 86.2964) |
| Luminance | 0.2021 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.60
Purpley
#8756E4
ΔE00 3.99
Lighter Purple
#A55AF4
ΔE00 5.58
Mediumpurple
#9370DB
ΔE00 5.83
Lightish Purple
#A552E6
ΔE00 6.88
Light Indigo
#6D5ACF
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8662F2 #CEF262
analogous
#6286F2 #8662F2 #CE62F2
triadic
#8662F2 #F28662 #62F286
tetradic
#8662F2 #F26286 #CEF262 #62F2CE
square
#8662F2 #F26286 #CEF262 #62F2CE
split-complementary
#8662F2 #F2CE62 #86F262
monochromatic
#3F11C9 #5A29ED #8662F2 #B29BF7 #DDD3FB
Accessibility & contrast
On white
4.16
#8662F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#8662F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8662F2
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8662F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8662F2 | 1.00 | 4.16 | 5.04 | 5.04 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#0079EF
Tritanopia (blue-blind)
#6583A1
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8662f2; /* rgb */ color: rgb(134, 98, 242); /* oklch */ color: oklch(60.7% 0.206 290.4);
Tailwind
colors: {
custom: {
50: '#b090f7',
500: '#8662f2',
950: '#000000',
},
}SCSS
$custom: #8662f2; $custom-light: #b090f7; $custom-dark: #000000;
JSON
{
"hex": "#8662f2",
"rgb": {
"r": 134,
"g": 98,
"b": 242
},
"hsl": {
"h": 255,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.60707,
"c": 0.20631,
"h": 290.4
},
"luminance": 0.20215
}Semantic roles & 50–950 ramp
primary
#8662F2
secondary
#E3EFC1
accent
#E104AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D17
muted
#807D85