#8A66F0#8A66F0
#8A66F0 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.6% C 0.199 H 291.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8A66F0 |
|---|---|
| RGB | rgb(138, 102, 240) |
| HSL | hsl(256, 82%, 67%) |
| HSV | hsv(256, 58%, 94%) |
| CMYK | cmyk(42.5%, 57.5%, 0%, 5.9%) |
| CIE-LAB | lab(53.16, 45.89, -64.82) |
| CIE-LCH | lch(53.16, 79.42, 305.30°) |
| OKLab | oklab(61.55% 0.0727 -0.1847) |
| OKLCH | oklch(61.55% 0.199 291.5) |
| XYZ | xyz(30.9564, 21.1963, 84.8814) |
| Luminance | 0.2120 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.76
Mediumpurple
#9370DB
ΔE00 4.70
Purpley
#8756E4
ΔE00 4.86
Lighter Purple
#A55AF4
ΔE00 5.32
Lightish Purple
#A552E6
ΔE00 6.91
Light Urple
#B36FF6
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A66F0 #CCF066
analogous
#6687F0 #8A66F0 #CF66F0
triadic
#8A66F0 #F08A66 #66F08A
tetradic
#8A66F0 #F06687 #CCF066 #66F0CF
square
#8A66F0 #F06687 #CCF066 #66F0CF
split-complementary
#8A66F0 #F0CF66 #87F066
monochromatic
#4314C8 #5F2EEB #8A66F0 #B59EF5 #DFD5FB
Accessibility & contrast
On white
4.01
#8A66F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#8A66F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A66F0
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A66F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A66F0 | 1.00 | 4.01 | 5.24 | 5.24 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0081F5
Deuteranopia (green-blind)
#187CED
Tritanopia (blue-blind)
#6D84A1
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8a66f0; /* rgb */ color: rgb(138, 102, 240); /* oklch */ color: oklch(61.6% 0.199 291.5);
Tailwind
colors: {
custom: {
50: '#b293f6',
500: '#8a66f0',
950: '#000000',
},
}SCSS
$custom: #8a66f0; $custom-light: #b293f6; $custom-dark: #000000;
JSON
{
"hex": "#8a66f0",
"rgb": {
"r": 138,
"g": 102,
"b": 240
},
"hsl": {
"h": 255.652,
"s": 82.143,
"l": 67.059
},
"oklch": {
"l": 0.6155,
"c": 0.19852,
"h": 291.5
},
"luminance": 0.21197
}Semantic roles & 50–950 ramp
primary
#8A66F0
secondary
#E3EFC3
accent
#DF07A6
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85