#8336C0#8336C0
#8336C0 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.8% C 0.205 H 305.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #8336C0 |
|---|---|
| RGB | rgb(131, 54, 192) |
| HSL | hsl(273, 56%, 48%) |
| HSV | hsv(273, 72%, 75%) |
| CMYK | cmyk(31.8%, 71.9%, 0%, 24.7%) |
| CIE-LAB | lab(40.03, 56.83, -58.69) |
| CIE-LCH | lch(40.03, 81.69, 314.08°) |
| OKLab | oklab(50.83% 0.1198 -0.1668) |
| OKLCH | oklch(50.83% 0.205 305.7) |
| XYZ | xyz(20.1916, 11.2696, 50.9705) |
| Luminance | 0.1127 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.99
Blueviolet
#8A2BE2
ΔE00 4.58
Darkviolet
#9400D3
ΔE00 4.75
Purply
#983FB2
ΔE00 5.85
Violet (survey)
#9A0EEA
ΔE00 6.21
Bluey Purple
#6241C7
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8336C0 #73C036
analogous
#3E36C0 #8336C0 #C036B8
triadic
#8336C0 #C08336 #36C083
tetradic
#8336C0 #C03E36 #73C036 #36B8C0
square
#8336C0 #C03E36 #73C036 #36B8C0
split-complementary
#8336C0 #B8C036 #36C03E
monochromatic
#421B60 #622990 #8336C0 #A061D2 #BD90E0
Accessibility & contrast
On white
6.45
#8336C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#8336C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8336C0
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8336C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8336C0 | 1.00 | 6.45 | 3.25 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#785778
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8336c0; /* rgb */ color: rgb(131, 54, 192); /* oklch */ color: oklch(50.8% 0.205 305.7);
Tailwind
colors: {
custom: {
50: '#ac74d4',
500: '#8336c0',
950: '#000000',
},
}SCSS
$custom: #8336c0; $custom-light: #ac74d4; $custom-dark: #000000;
JSON
{
"hex": "#8336c0",
"rgb": {
"r": 131,
"g": 54,
"b": 192
},
"hsl": {
"h": 273.478,
"s": 56.098,
"l": 48.235
},
"oklch": {
"l": 0.50834,
"c": 0.20536,
"h": 305.7
},
"luminance": 0.11269
}Semantic roles & 50–950 ramp
primary
#8336C0
secondary
#A5CB87
accent
#DF488B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83