#8837BA#8837BA
#8837BA is a mid, vivid violet. Relative luminance 0.115; OKLCH L 51.1% C 0.199 H 309.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #8837BA |
|---|---|
| RGB | rgb(136, 55, 186) |
| HSL | hsl(277, 54%, 47%) |
| HSV | hsv(277, 70%, 73%) |
| CMYK | cmyk(26.9%, 70.4%, 0%, 27.1%) |
| CIE-LAB | lab(40.43, 56.04, -54.49) |
| CIE-LCH | lch(40.43, 78.16, 315.80°) |
| OKLab | oklab(51.13% 0.1264 -0.1543) |
| OKLCH | oklch(51.13% 0.199 309.3) |
| XYZ | xyz(20.3807, 11.5122, 47.5933) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.57
Purply
#983FB2
ΔE00 4.44
Darkviolet
#9400D3
ΔE00 5.13
Blueviolet
#8A2BE2
ΔE00 5.57
Purple (survey)
#7E1E9C
ΔE00 6.55
Barney
#AC1DB8
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8837BA #69BA37
analogous
#4637BA #8837BA #BA37AB
triadic
#8837BA #BA8837 #37BA88
tetradic
#8837BA #BA4637 #69BA37 #37ABBA
square
#8837BA #BA4637 #69BA37 #37ABBA
split-complementary
#8837BA #ABBA37 #37BA46
monochromatic
#431B5C #65298B #8837BA #A45FD0 #BF8EDE
Accessibility & contrast
On white
6.36
#8837BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#8837BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8837BA
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8837BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8837BA | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#1C60B7
Tritanopia (blue-blind)
#815475
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8837ba; /* rgb */ color: rgb(136, 55, 186); /* oklch */ color: oklch(51.1% 0.199 309.3);
Tailwind
colors: {
custom: {
50: '#af75cf',
500: '#8837ba',
950: '#000000',
},
}SCSS
$custom: #8837ba; $custom-light: #af75cf; $custom-dark: #000000;
JSON
{
"hex": "#8837ba",
"rgb": {
"r": 136,
"g": 55,
"b": 186
},
"hsl": {
"h": 277.099,
"s": 54.357,
"l": 47.255
},
"oklch": {
"l": 0.51125,
"c": 0.19946,
"h": 309.3
},
"luminance": 0.11512
}Semantic roles & 50–950 ramp
primary
#8837BA
secondary
#9EC885
accent
#DE4A82
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82