#8366EF#8366EF
#8366EF is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.9% C 0.197 H 288.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8366EF |
|---|---|
| RGB | rgb(131, 102, 239) |
| HSL | hsl(253, 81%, 67%) |
| HSV | hsv(253, 57%, 94%) |
| CMYK | cmyk(45.2%, 57.3%, 0%, 6.3%) |
| CIE-LAB | lab(52.46, 44.14, -65.42) |
| CIE-LCH | lch(52.46, 78.92, 304.01°) |
| OKLab | oklab(60.86% 0.0639 -0.1867) |
| OKLCH | oklch(60.86% 0.197 288.9) |
| XYZ | xyz(29.6870, 20.5589, 84.0487) |
| Luminance | 0.2056 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.56
Purpley
#8756E4
ΔE00 4.85
Mediumpurple
#9370DB
ΔE00 5.34
Lighter Purple
#A55AF4
ΔE00 6.45
Dark Periwinkle
#665FD1
ΔE00 7.02
Light Indigo
#6D5ACF
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8366EF #D2EF66
analogous
#668EEF #8366EF #C866EF
triadic
#8366EF #EF8366 #66EF83
tetradic
#8366EF #EF668E #D2EF66 #66EFC8
square
#8366EF #EF668E #D2EF66 #66EFC8
split-complementary
#8366EF #EFC866 #8EEF66
monochromatic
#3A15C6 #562FE9 #8366EF #B09DF5 #DDD5FB
Accessibility & contrast
On white
4.11
#8366EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#8366EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8366EF
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8366EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8366EF | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#037AEC
Tritanopia (blue-blind)
#6185A1
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8366ef; /* rgb */ color: rgb(131, 102, 239); /* oklch */ color: oklch(60.9% 0.197 288.9);
Tailwind
colors: {
custom: {
50: '#ae92f5',
500: '#8366ef',
950: '#000000',
},
}SCSS
$custom: #8366ef; $custom-light: #ae92f5; $custom-dark: #000000;
JSON
{
"hex": "#8366ef",
"rgb": {
"r": 131,
"g": 102,
"b": 239
},
"hsl": {
"h": 252.701,
"s": 81.065,
"l": 66.863
},
"oklch": {
"l": 0.60862,
"c": 0.19734,
"h": 288.9
},
"luminance": 0.2056
}Semantic roles & 50–950 ramp
primary
#8366EF
secondary
#E5EEC2
accent
#DD08B0
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85