#8837B7#8837B7
#8837B7 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.9% C 0.196 H 310.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #8837B7 |
|---|---|
| RGB | rgb(136, 55, 183) |
| HSL | hsl(278, 54%, 47%) |
| HSV | hsv(278, 70%, 72%) |
| CMYK | cmyk(25.7%, 69.9%, 0%, 28.2%) |
| CIE-LAB | lab(40.22, 55.38, -53.06) |
| CIE-LCH | lch(40.22, 76.69, 316.22°) |
| OKLab | oklab(50.91% 0.1268 -0.1501) |
| OKLCH | oklch(50.91% 0.196 310.2) |
| XYZ | xyz(20.0651, 11.3859, 45.9313) |
| Luminance | 0.1139 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.85
Purply
#983FB2
ΔE00 4.23
Darkviolet
#9400D3
ΔE00 5.39
Blueviolet
#8A2BE2
ΔE00 6.03
Purple (survey)
#7E1E9C
ΔE00 6.22
Barney
#AC1DB8
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8837B7 #66B737
analogous
#4837B7 #8837B7 #B737A6
triadic
#8837B7 #B78837 #37B788
tetradic
#8837B7 #B74837 #66B737 #37A6B7
square
#8837B7 #B74837 #66B737 #37A6B7
split-complementary
#8837B7 #A6B737 #37B748
monochromatic
#421B59 #652988 #8837B7 #A55DCE #BF8CDC
Accessibility & contrast
On white
6.41
#8837B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#8837B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8837B7
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8837B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8837B7 | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#2160B4
Tritanopia (blue-blind)
#825373
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8837b7; /* rgb */ color: rgb(136, 55, 183); /* oklch */ color: oklch(50.9% 0.196 310.2);
Tailwind
colors: {
custom: {
50: '#af74cd',
500: '#8837b7',
950: '#000000',
},
}SCSS
$custom: #8837b7; $custom-light: #af74cd; $custom-dark: #000000;
JSON
{
"hex": "#8837b7",
"rgb": {
"r": 136,
"g": 55,
"b": 183
},
"hsl": {
"h": 277.969,
"s": 53.782,
"l": 46.667
},
"oklch": {
"l": 0.50912,
"c": 0.19646,
"h": 310.2
},
"luminance": 0.11386
}Semantic roles & 50–950 ramp
primary
#8837B7
secondary
#9CC783
accent
#DD4B80
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82