#8F66EB#8F66EB
#8F66EB is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.7% C 0.193 H 294.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #8F66EB |
|---|---|
| RGB | rgb(143, 102, 235) |
| HSL | hsl(258, 77%, 66%) |
| HSV | hsv(258, 57%, 92%) |
| CMYK | cmyk(39.1%, 56.6%, 0%, 7.8%) |
| CIE-LAB | lab(53.32, 45.64, -61.75) |
| CIE-LCH | lch(53.32, 76.79, 306.47°) |
| OKLab | oklab(61.68% 0.0791 -0.1755) |
| OKLCH | oklch(61.68% 0.193 294.3) |
| XYZ | xyz(31.0705, 21.3398, 81.0631) |
| Luminance | 0.2134 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.79
Mediumpurple
#9370DB
ΔE00 3.86
Lighter Purple
#A55AF4
ΔE00 4.57
Purpley
#8756E4
ΔE00 4.79
Lightish Purple
#A552E6
ΔE00 6.06
Light Urple
#B36FF6
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F66EB #C2EB66
analogous
#667FEB #8F66EB #D166EB
triadic
#8F66EB #EB8F66 #66EB8F
tetradic
#8F66EB #EB667F #C2EB66 #66EBD1
square
#8F66EB #EB667F #C2EB66 #66EBD1
split-complementary
#8F66EB #EBD166 #7FEB66
monochromatic
#4C19BE #6730E4 #8F66EB #B79CF2 #DED2F9
Accessibility & contrast
On white
3.99
#8F66EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#8F66EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F66EB
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F66EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F66EB | 1.00 | 3.99 | 5.27 | 5.27 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C81EF
Deuteranopia (green-blind)
#2D7DE8
Tritanopia (blue-blind)
#77829F
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8f66eb; /* rgb */ color: rgb(143, 102, 235); /* oklch */ color: oklch(61.7% 0.193 294.3);
Tailwind
colors: {
custom: {
50: '#b593f2',
500: '#8f66eb',
950: '#000000',
},
}SCSS
$custom: #8f66eb; $custom-light: #b593f2; $custom-dark: #000000;
JSON
{
"hex": "#8f66eb",
"rgb": {
"r": 143,
"g": 102,
"b": 235
},
"hsl": {
"h": 258.496,
"s": 76.879,
"l": 66.078
},
"oklch": {
"l": 0.61675,
"c": 0.19255,
"h": 294.3
},
"luminance": 0.21341
}Semantic roles & 50–950 ramp
primary
#8F66EB
secondary
#DFECC1
accent
#D90C9A
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85