#8366CF#8366CF
#8366CF is a mid, vivid violet. Relative luminance 0.188; OKLCH L 58.8% C 0.156 H 293.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #8366CF |
|---|---|
| RGB | rgb(131, 102, 207) |
| HSL | hsl(257, 52%, 61%) |
| HSV | hsv(257, 51%, 81%) |
| CMYK | cmyk(36.7%, 50.7%, 0%, 18.8%) |
| CIE-LAB | lab(50.49, 35.34, -50.52) |
| CIE-LCH | lch(50.49, 61.65, 304.97°) |
| OKLab | oklab(58.77% 0.063 -0.1429) |
| OKLCH | oklch(58.77% 0.156 293.8) |
| XYZ | xyz(25.3710, 18.8325, 61.3177) |
| Luminance | 0.1883 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.48
Mediumslateblue
#7B68EE
ΔE00 5.15
Purpley
#8756E4
ΔE00 5.26
Light Indigo
#6D5ACF
ΔE00 5.56
Deep Lavender
#8D5EB7
ΔE00 5.90
Slate Blue
#6A5ACD
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8366CF #B2CF66
analogous
#667DCF #8366CF #B766CF
triadic
#8366CF #CF8366 #66CF83
tetradic
#8366CF #CF667D #B2CF66 #66CFB7
square
#8366CF #CF667D #B2CF66 #66CFB7
split-complementary
#8366CF #CFB766 #7DCF66
monochromatic
#472D8E #5F3BBD #8366CF #A995DE #CFC3EC
Accessibility & contrast
On white
4.41
#8366CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#8366CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8366CF
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8366CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8366CF | 1.00 | 4.41 | 4.77 | 4.77 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D79D3
Deuteranopia (green-blind)
#4376CD
Tritanopia (blue-blind)
#707B91
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #8366cf; /* rgb */ color: rgb(131, 102, 207); /* oklch */ color: oklch(58.8% 0.156 293.8);
Tailwind
colors: {
custom: {
50: '#ab92de',
500: '#8366cf',
950: '#000000',
},
}SCSS
$custom: #8366cf; $custom-light: #ab92de; $custom-dark: #000000;
JSON
{
"hex": "#8366cf",
"rgb": {
"r": 131,
"g": 102,
"b": 207
},
"hsl": {
"h": 256.571,
"s": 52.239,
"l": 60.588
},
"oklch": {
"l": 0.58768,
"c": 0.15617,
"h": 293.8
},
"luminance": 0.18833
}Semantic roles & 50–950 ramp
primary
#8366CF
secondary
#D1DCB4
accent
#C02695
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83