#8847AF#8847AF
#8847AF is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.4% C 0.166 H 310.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #8847AF |
|---|---|
| RGB | rgb(136, 71, 175) |
| HSL | hsl(278, 42%, 48%) |
| HSV | hsv(278, 59%, 69%) |
| CMYK | cmyk(22.3%, 59.4%, 0%, 31.4%) |
| CIE-LAB | lab(42.52, 45.88, -44.66) |
| CIE-LCH | lch(42.52, 64.03, 315.77°) |
| OKLab | oklab(52.4% 0.1083 -0.1255) |
| OKLCH | oklch(52.4% 0.166 310.8) |
| XYZ | xyz(20.1430, 12.8363, 41.9657) |
| Luminance | 0.1284 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.28
Royal Purple
#7851A9
ΔE00 4.23
Darkorchid
#9932CC
ΔE00 5.63
Medium Purple
#9E43A2
ΔE00 5.96
Deep Lavender
#8D5EB7
ΔE00 6.44
Ugly Purple
#A442A0
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8847AF #6EAF47
analogous
#5447AF #8847AF #AF47A2
triadic
#8847AF #AF8847 #47AF88
tetradic
#8847AF #AF5447 #6EAF47 #47A2AF
square
#8847AF #AF5447 #6EAF47 #47A2AF
split-complementary
#8847AF #A2AF47 #47AF54
monochromatic
#442458 #663583 #8847AF #A46FC4 #C09AD6
Accessibility & contrast
On white
5.89
#8847AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#8847AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8847AF
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8847AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8847AF | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2261B2
Deuteranopia (green-blind)
#3D66AC
Tritanopia (blue-blind)
#835A74
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8847af; /* rgb */ color: rgb(136, 71, 175); /* oklch */ color: oklch(52.4% 0.166 310.8);
Tailwind
colors: {
custom: {
50: '#ae7dc7',
500: '#8847af',
950: '#000000',
},
}SCSS
$custom: #8847af; $custom-light: #ae7dc7; $custom-dark: #000000;
JSON
{
"hex": "#8847af",
"rgb": {
"r": 136,
"g": 71,
"b": 175
},
"hsl": {
"h": 277.5,
"s": 42.276,
"l": 48.235
},
"oklch": {
"l": 0.52402,
"c": 0.1658,
"h": 310.8
},
"luminance": 0.12836
}Semantic roles & 50–950 ramp
primary
#8847AF
secondary
#A3C28F
accent
#D25684
background
#FAF7FC
surface
#F5EEF8
border
#CFC9D1
text
#110A13
muted
#807C82