#8366C2#8366C2
#8366C2 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.0% C 0.139 H 296.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8366C2 |
|---|---|
| RGB | rgb(131, 102, 194) |
| HSL | hsl(259, 43%, 58%) |
| HSV | hsv(259, 47%, 76%) |
| CMYK | cmyk(32.5%, 47.4%, 0%, 23.9%) |
| CIE-LAB | lab(49.77, 31.88, -44.22) |
| CIE-LCH | lch(49.77, 54.52, 305.79°) |
| OKLab | oklab(57.99% 0.0617 -0.1245) |
| OKLCH | oklch(57.99% 0.139 296.3) |
| XYZ | xyz(23.8466, 18.2227, 53.2895) |
| Luminance | 0.1822 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.30
Deep Lilac
#966EBD
ΔE00 5.47
Mediumpurple
#9370DB
ΔE00 5.52
Amethyst
#9B5FC0
ΔE00 5.88
Light Indigo
#6D5ACF
ΔE00 6.38
Slate Blue
#6A5ACD
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8366C2 #A5C266
analogous
#6677C2 #8366C2 #B166C2
triadic
#8366C2 #C28366 #66C283
tetradic
#8366C2 #C26677 #A5C266 #66C2B1
square
#8366C2 #C26677 #A5C266 #66C2B1
split-complementary
#8366C2 #C2B166 #77C266
monochromatic
#49317C #6343A8 #8366C2 #A692D3 #CABEE5
Accessibility & contrast
On white
4.52
#8366C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#8366C2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8366C2
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8366C2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8366C2 | 1.00 | 4.52 | 4.64 | 4.64 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4777C5
Deuteranopia (green-blind)
#4D75C0
Tritanopia (blue-blind)
#75778B
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #8366c2; /* rgb */ color: rgb(131, 102, 194); /* oklch */ color: oklch(58.0% 0.139 296.3);
Tailwind
colors: {
custom: {
50: '#aa92d5',
500: '#8366c2',
950: '#000000',
},
}SCSS
$custom: #8366c2; $custom-light: #aa92d5; $custom-dark: #000000;
JSON
{
"hex": "#8366c2",
"rgb": {
"r": 131,
"g": 102,
"b": 194
},
"hsl": {
"h": 258.913,
"s": 42.991,
"l": 58.039
},
"oklch": {
"l": 0.57991,
"c": 0.13892,
"h": 296.3
},
"luminance": 0.18223
}Semantic roles & 50–950 ramp
primary
#8366C2
secondary
#C9D4B0
accent
#D355AB
background
#FAF9FD
surface
#F4F1FA
border
#CECBD3
text
#100D14
muted
#7F7E83