#8837AF#8837AF
#8837AF is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.4% C 0.189 H 312.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #8837AF |
|---|---|
| RGB | rgb(136, 55, 175) |
| HSL | hsl(281, 52%, 45%) |
| HSV | hsv(281, 69%, 69%) |
| CMYK | cmyk(22.3%, 68.6%, 0%, 31.4%) |
| CIE-LAB | lab(39.69, 53.64, -49.20) |
| CIE-LCH | lch(39.69, 72.78, 317.47°) |
| OKLab | oklab(50.36% 0.1276 -0.1388) |
| OKLCH | oklch(50.36% 0.189 312.6) |
| XYZ | xyz(19.2560, 11.0623, 41.6700) |
| Luminance | 0.1106 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.88
Darkorchid
#9932CC
ΔE00 4.78
Purple (survey)
#7E1E9C
ΔE00 5.47
Darkviolet
#9400D3
ΔE00 6.25
Barney
#AC1DB8
ΔE00 6.32
Royal Purple
#7851A9
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8837AF #5EAF37
analogous
#4C37AF #8837AF #AF379A
triadic
#8837AF #AF8837 #37AF88
tetradic
#8837AF #AF4C37 #5EAF37 #379AAF
square
#8837AF #AF4C37 #5EAF37 #379AAF
split-complementary
#8837AF #9AAF37 #37AF4C
monochromatic
#401A52 #642880 #8837AF #A659CB #BF87D9
Accessibility & contrast
On white
6.54
#8837AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#8837AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8837AF
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8837AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8837AF | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#2C5FAC
Tritanopia (blue-blind)
#84506F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #8837af; /* rgb */ color: rgb(136, 55, 175); /* oklch */ color: oklch(50.4% 0.189 312.6);
Tailwind
colors: {
custom: {
50: '#ae74c7',
500: '#8837af',
950: '#000000',
},
}SCSS
$custom: #8837af; $custom-light: #ae74c7; $custom-dark: #000000;
JSON
{
"hex": "#8837af",
"rgb": {
"r": 136,
"g": 55,
"b": 175
},
"hsl": {
"h": 280.5,
"s": 52.174,
"l": 45.098
},
"oklch": {
"l": 0.50356,
"c": 0.1885,
"h": 312.6
},
"luminance": 0.11062
}Semantic roles & 50–950 ramp
primary
#8837AF
secondary
#95C37F
accent
#DC4C7B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82