#8366F6#8366F6
#8366F6 is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.4% C 0.206 H 288.0°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #8366F6 |
|---|---|
| RGB | rgb(131, 102, 246) |
| HSL | hsl(252, 89%, 68%) |
| HSV | hsv(252, 59%, 96%) |
| CMYK | cmyk(46.7%, 58.5%, 0%, 3.5%) |
| CIE-LAB | lab(52.93, 46.11, -68.58) |
| CIE-LCH | lch(52.93, 82.64, 303.92°) |
| OKLab | oklab(61.35% 0.0638 -0.196) |
| OKLCH | oklch(61.35% 0.206 288) |
| XYZ | xyz(30.7412, 20.9806, 89.6008) |
| Luminance | 0.2098 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.81
Purpley
#8756E4
ΔE00 5.34
Mediumpurple
#9370DB
ΔE00 5.90
Lighter Purple
#A55AF4
ΔE00 6.48
Dark Periwinkle
#665FD1
ΔE00 7.63
Cornflower
#6A79F7
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8366F6 #D9F666
analogous
#6691F6 #8366F6 #CB66F6
triadic
#8366F6 #F68366 #66F683
tetradic
#8366F6 #F66691 #D9F666 #66F6CB
square
#8366F6 #F66691 #D9F666 #66F6CB
split-complementary
#8366F6 #F6CB66 #91F666
monochromatic
#350DD5 #542CF3 #8366F6 #B2A0F9 #E1DAFD
Accessibility & contrast
On white
4.04
#8366F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#8366F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8366F6
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8366F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8366F6 | 1.00 | 4.04 | 5.20 | 5.20 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0082FB
Deuteranopia (green-blind)
#007BF3
Tritanopia (blue-blind)
#5D87A4
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8366f6; /* rgb */ color: rgb(131, 102, 246); /* oklch */ color: oklch(61.4% 0.206 288.0);
Tailwind
colors: {
custom: {
50: '#af93fa',
500: '#8366f6',
950: '#000000',
},
}SCSS
$custom: #8366f6; $custom-light: #af93fa; $custom-dark: #000000;
JSON
{
"hex": "#8366f6",
"rgb": {
"r": 131,
"g": 102,
"b": 246
},
"hsl": {
"h": 252.083,
"s": 88.889,
"l": 68.235
},
"oklch": {
"l": 0.61351,
"c": 0.20608,
"h": 288
},
"luminance": 0.20982
}Semantic roles & 50–950 ramp
primary
#8366F6
secondary
#E9F2C6
accent
#E600B7
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85