#8336C3#8336C3
#8336C3 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.1% C 0.208 H 304.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #8336C3 |
|---|---|
| RGB | rgb(131, 54, 195) |
| HSL | hsl(273, 57%, 49%) |
| HSV | hsv(273, 72%, 76%) |
| CMYK | cmyk(32.8%, 72.3%, 0%, 23.5%) |
| CIE-LAB | lab(40.25, 57.52, -60.08) |
| CIE-LCH | lch(40.25, 83.17, 313.75°) |
| OKLab | oklab(51.06% 0.1193 -0.1709) |
| OKLCH | oklch(51.06% 0.208 304.9) |
| XYZ | xyz(20.5273, 11.4039, 52.7389) |
| Luminance | 0.1140 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.90
Blueviolet
#8A2BE2
ΔE00 4.17
Darkviolet
#9400D3
ΔE00 4.62
Violet (survey)
#9A0EEA
ΔE00 5.89
Purply
#983FB2
ΔE00 6.09
Bluish Purple
#703BE7
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8336C3 #76C336
analogous
#3D36C3 #8336C3 #C336BD
triadic
#8336C3 #C38336 #36C383
tetradic
#8336C3 #C33D36 #76C336 #36BDC3
square
#8336C3 #C33D36 #76C336 #36BDC3
split-complementary
#8336C3 #BDC336 #36C33D
monochromatic
#431B63 #632993 #8336C3 #A063D4 #BD92E1
Accessibility & contrast
On white
6.40
#8336C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#8336C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8336C3
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8336C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8336C3 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#775879
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8336c3; /* rgb */ color: rgb(131, 54, 195); /* oklch */ color: oklch(51.1% 0.208 304.9);
Tailwind
colors: {
custom: {
50: '#ac74d6',
500: '#8336c3',
950: '#000000',
},
}SCSS
$custom: #8336c3; $custom-light: #ac74d6; $custom-dark: #000000;
JSON
{
"hex": "#8336c3",
"rgb": {
"r": 131,
"g": 54,
"b": 195
},
"hsl": {
"h": 272.766,
"s": 56.627,
"l": 48.824
},
"oklch": {
"l": 0.5106,
"c": 0.2084,
"h": 304.9
},
"luminance": 0.11404
}Semantic roles & 50–950 ramp
primary
#8336C3
secondary
#A7CC89
accent
#E0488D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83