#8337C0#8337C0
#8337C0 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.9% C 0.204 H 305.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #8337C0 |
|---|---|
| RGB | rgb(131, 55, 192) |
| HSL | hsl(273, 55%, 48%) |
| HSV | hsv(273, 71%, 75%) |
| CMYK | cmyk(31.8%, 71.4%, 0%, 24.7%) |
| CIE-LAB | lab(40.19, 56.39, -58.44) |
| CIE-LCH | lch(40.19, 81.21, 313.98°) |
| OKLab | oklab(50.94% 0.1188 -0.1661) |
| OKLCH | oklch(50.94% 0.204 305.6) |
| XYZ | xyz(20.2386, 11.3636, 50.9861) |
| Luminance | 0.1136 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.96
Blueviolet
#8A2BE2
ΔE00 4.60
Darkviolet
#9400D3
ΔE00 4.88
Purply
#983FB2
ΔE00 5.77
Violet (survey)
#9A0EEA
ΔE00 6.26
Bluey Purple
#6241C7
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8337C0 #74C037
analogous
#3E37C0 #8337C0 #C037B8
triadic
#8337C0 #C08337 #37C083
tetradic
#8337C0 #C03E37 #74C037 #37B8C0
square
#8337C0 #C03E37 #74C037 #37B8C0
split-complementary
#8337C0 #B8C037 #37C03E
monochromatic
#421C61 #632990 #8337C0 #A062D2 #BD92E0
Accessibility & contrast
On white
6.42
#8337C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#8337C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8337C0
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8337C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8337C0 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC4
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#785778
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8337c0; /* rgb */ color: rgb(131, 55, 192); /* oklch */ color: oklch(50.9% 0.204 305.6);
Tailwind
colors: {
custom: {
50: '#ac74d4',
500: '#8337c0',
950: '#000000',
},
}SCSS
$custom: #8337c0; $custom-light: #ac74d4; $custom-dark: #000000;
JSON
{
"hex": "#8337c0",
"rgb": {
"r": 131,
"g": 55,
"b": 192
},
"hsl": {
"h": 273.285,
"s": 55.466,
"l": 48.431
},
"oklch": {
"l": 0.50944,
"c": 0.20418,
"h": 305.6
},
"luminance": 0.11363
}Semantic roles & 50–950 ramp
primary
#8337C0
secondary
#A6CB88
accent
#DF498C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83