#8366F9#8366F9
#8366F9 is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 61.6% C 0.210 H 287.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #8366F9 |
|---|---|
| RGB | rgb(131, 102, 249) |
| HSL | hsl(252, 92%, 69%) |
| HSV | hsv(252, 59%, 98%) |
| CMYK | cmyk(47.4%, 59%, 0%, 2.4%) |
| CIE-LAB | lab(53.13, 46.95, -69.92) |
| CIE-LCH | lch(53.13, 84.22, 303.88°) |
| OKLab | oklab(61.56% 0.0637 -0.1999) |
| OKLCH | oklch(61.56% 0.21 287.7) |
| XYZ | xyz(31.2054, 21.1662, 92.0454) |
| Luminance | 0.2117 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.04
Purpley
#8756E4
ΔE00 5.58
Mediumpurple
#9370DB
ΔE00 6.15
Lighter Purple
#A55AF4
ΔE00 6.53
Cornflower
#6A79F7
ΔE00 7.59
Dark Periwinkle
#665FD1
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8366F9 #DCF966
analogous
#6693F9 #8366F9 #CD66F9
triadic
#8366F9 #F98366 #66F983
tetradic
#8366F9 #F96693 #DCF966 #66F9CD
square
#8366F9 #F96693 #DCF966 #66F9CD
split-complementary
#8366F9 #F9CD66 #93F966
monochromatic
#3209DC #532BF7 #8366F9 #B3A1FB #E2DCFE
Accessibility & contrast
On white
4.01
#8366F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#8366F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8366F9
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8366F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8366F9 | 1.00 | 4.01 | 5.23 | 5.23 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0082FE
Deuteranopia (green-blind)
#007BF6
Tritanopia (blue-blind)
#5B88A6
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8366f9; /* rgb */ color: rgb(131, 102, 249); /* oklch */ color: oklch(61.6% 0.210 287.7);
Tailwind
colors: {
custom: {
50: '#af93fc',
500: '#8366f9',
950: '#000000',
},
}SCSS
$custom: #8366f9; $custom-light: #af93fc; $custom-dark: #000000;
JSON
{
"hex": "#8366f9",
"rgb": {
"r": 131,
"g": 102,
"b": 249
},
"hsl": {
"h": 251.837,
"s": 92.453,
"l": 68.824
},
"oklch": {
"l": 0.61564,
"c": 0.2098,
"h": 287.7
},
"luminance": 0.21168
}Semantic roles & 50–950 ramp
primary
#8366F9
secondary
#EBF3C8
accent
#E600B8
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86