#8336C2#8336C2
#8336C2 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.0% C 0.207 H 305.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #8336C2 |
|---|---|
| RGB | rgb(131, 54, 194) |
| HSL | hsl(273, 56%, 49%) |
| HSV | hsv(273, 72%, 76%) |
| CMYK | cmyk(32.5%, 72.2%, 0%, 23.9%) |
| CIE-LAB | lab(40.18, 57.29, -59.62) |
| CIE-LCH | lch(40.18, 82.68, 313.86°) |
| OKLab | oklab(50.99% 0.1195 -0.1695) |
| OKLCH | oklch(50.99% 0.207 305.2) |
| XYZ | xyz(20.4147, 11.3588, 52.1455) |
| Luminance | 0.1136 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.92
Blueviolet
#8A2BE2
ΔE00 4.30
Darkviolet
#9400D3
ΔE00 4.66
Violet (survey)
#9A0EEA
ΔE00 6.00
Purply
#983FB2
ΔE00 6.00
Bluey Purple
#6241C7
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8336C2 #75C236
analogous
#3D36C2 #8336C2 #C236BB
triadic
#8336C2 #C28336 #36C283
tetradic
#8336C2 #C23D36 #75C236 #36BBC2
square
#8336C2 #C23D36 #75C236 #36BBC2
split-complementary
#8336C2 #BBC236 #36C23D
monochromatic
#421B62 #632992 #8336C2 #A062D3 #BD92E1
Accessibility & contrast
On white
6.42
#8336C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#8336C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8336C2
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8336C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8336C2 | 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)
#005DC6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#775779
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8336c2; /* rgb */ color: rgb(131, 54, 194); /* oklch */ color: oklch(51.0% 0.207 305.2);
Tailwind
colors: {
custom: {
50: '#ac74d5',
500: '#8336c2',
950: '#000000',
},
}SCSS
$custom: #8336c2; $custom-light: #ac74d5; $custom-dark: #000000;
JSON
{
"hex": "#8336c2",
"rgb": {
"r": 131,
"g": 54,
"b": 194
},
"hsl": {
"h": 273,
"s": 56.452,
"l": 48.627
},
"oklch": {
"l": 0.50985,
"c": 0.20739,
"h": 305.2
},
"luminance": 0.11359
}Semantic roles & 50–950 ramp
primary
#8336C2
secondary
#A7CC88
accent
#E0488C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83