#8837C6#8837C6
#8837C6 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.0% C 0.211 H 306.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8837C6 |
|---|---|
| RGB | rgb(136, 55, 198) |
| HSL | hsl(274, 57%, 50%) |
| HSV | hsv(274, 72%, 78%) |
| CMYK | cmyk(31.3%, 72.2%, 0%, 22.4%) |
| CIE-LAB | lab(41.29, 58.72, -60.12) |
| CIE-LCH | lch(41.29, 84.04, 314.32°) |
| OKLab | oklab(52% 0.1246 -0.1708) |
| OKLCH | oklch(52% 0.211 306.1) |
| XYZ | xyz(21.7103, 12.0440, 54.5961) |
| Luminance | 0.1204 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.95
Blueviolet
#8A2BE2
ΔE00 3.83
Darkviolet
#9400D3
ΔE00 4.50
Violet (survey)
#9A0EEA
ΔE00 5.35
Purply
#983FB2
ΔE00 5.51
Bluish Purple
#703BE7
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8837C6 #75C637
analogous
#4037C6 #8837C6 #C637BD
triadic
#8837C6 #C68837 #37C688
tetradic
#8837C6 #C64037 #75C637 #37BDC6
square
#8837C6 #C64037 #75C637 #37BDC6
split-complementary
#8837C6 #BDC637 #37C640
monochromatic
#461C66 #672A96 #8837C6 #A466D4 #C196E2
Accessibility & contrast
On white
6.16
#8837C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#8837C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8837C6
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8837C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8837C6 | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#0062C3
Tritanopia (blue-blind)
#7D597B
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8837c6; /* rgb */ color: rgb(136, 55, 198); /* oklch */ color: oklch(52.0% 0.211 306.1);
Tailwind
colors: {
custom: {
50: '#b075d8',
500: '#8837c6',
950: '#000000',
},
}SCSS
$custom: #8837c6; $custom-light: #b075d8; $custom-dark: #000000;
JSON
{
"hex": "#8837c6",
"rgb": {
"r": 136,
"g": 55,
"b": 198
},
"hsl": {
"h": 273.986,
"s": 56.522,
"l": 49.608
},
"oklch": {
"l": 0.52004,
"c": 0.21144,
"h": 306.1
},
"luminance": 0.12044
}Semantic roles & 50–950 ramp
primary
#8837C6
secondary
#A8CD8C
accent
#E0488A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83