#8366C8#8366C8
#8366C8 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.3% C 0.147 H 295.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #8366C8 |
|---|---|
| RGB | rgb(131, 102, 200) |
| HSL | hsl(258, 47%, 59%) |
| HSV | hsv(258, 49%, 78%) |
| CMYK | cmyk(34.5%, 49%, 0%, 21.6%) |
| CIE-LAB | lab(50.09, 33.47, -47.15) |
| CIE-LCH | lch(50.09, 57.82, 305.37°) |
| OKLab | oklab(58.34% 0.0623 -0.133) |
| OKLCH | oklch(58.34% 0.147 295.1) |
| XYZ | xyz(24.5341, 18.4977, 56.9102) |
| Luminance | 0.1850 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.94
Deep Lavender
#8D5EB7
ΔE00 4.99
Light Indigo
#6D5ACF
ΔE00 5.88
Purpley
#8756E4
ΔE00 6.02
Deep Lilac
#966EBD
ΔE00 6.03
Amethyst
#9B5FC0
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8366C8 #ABC866
analogous
#667AC8 #8366C8 #B466C8
triadic
#8366C8 #C88366 #66C883
tetradic
#8366C8 #C8667A #ABC866 #66C8B4
square
#8366C8 #C8667A #ABC866 #66C8B4
split-complementary
#8366C8 #C8B466 #7AC866
monochromatic
#492F84 #6140B1 #8366C8 #A793D8 #CCC0E8
Accessibility & contrast
On white
4.47
#8366C8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#8366C8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8366C8
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8366C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8366C8 | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4378CB
Deuteranopia (green-blind)
#4976C6
Tritanopia (blue-blind)
#73798E
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #8366c8; /* rgb */ color: rgb(131, 102, 200); /* oklch */ color: oklch(58.3% 0.147 295.1);
Tailwind
colors: {
custom: {
50: '#aa92d9',
500: '#8366c8',
950: '#000000',
},
}SCSS
$custom: #8366c8; $custom-light: #aa92d9; $custom-dark: #000000;
JSON
{
"hex": "#8366c8",
"rgb": {
"r": 131,
"g": 102,
"b": 200
},
"hsl": {
"h": 257.755,
"s": 47.115,
"l": 59.216
},
"oklch": {
"l": 0.58344,
"c": 0.14691,
"h": 295.1
},
"luminance": 0.18498
}Semantic roles & 50–950 ramp
primary
#8366C8
secondary
#CDD8B2
accent
#D751AF
background
#FAF9FD
surface
#F4F1FA
border
#CECBD3
text
#100D15
muted
#7F7E83