#8840AF#8840AF
#8840AF is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.5% C 0.176 H 311.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8840AF |
|---|---|
| RGB | rgb(136, 64, 175) |
| HSL | hsl(279, 46%, 47%) |
| HSV | hsv(279, 63%, 69%) |
| CMYK | cmyk(22.3%, 63.4%, 0%, 31.4%) |
| CIE-LAB | lab(41.21, 49.42, -46.75) |
| CIE-LCH | lch(41.21, 68.03, 316.59°) |
| OKLab | oklab(51.46% 0.1171 -0.1316) |
| OKLCH | oklch(51.46% 0.176 311.7) |
| XYZ | xyz(19.7232, 11.9967, 41.8257) |
| Luminance | 0.1200 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.13
Darkorchid
#9932CC
ΔE00 4.96
Royal Purple
#7851A9
ΔE00 5.34
Medium Purple
#9E43A2
ΔE00 6.21
Barney
#AC1DB8
ΔE00 6.80
Purple (survey)
#7E1E9C
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8840AF #67AF40
analogous
#5140AF #8840AF #AF409F
triadic
#8840AF #AF8840 #40AF88
tetradic
#8840AF #AF5140 #67AF40 #409FAF
square
#8840AF #AF5140 #67AF40 #409FAF
split-complementary
#8840AF #9FAF40 #40AF51
monochromatic
#421F55 #653082 #8840AF #A565C7 #BF92D7
Accessibility & contrast
On white
6.18
#8840AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#8840AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8840AF
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8840AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8840AF | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C5EB2
Deuteranopia (green-blind)
#3663AC
Tritanopia (blue-blind)
#835572
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8840af; /* rgb */ color: rgb(136, 64, 175); /* oklch */ color: oklch(51.5% 0.176 311.7);
Tailwind
colors: {
custom: {
50: '#ae79c7',
500: '#8840af',
950: '#000000',
},
}SCSS
$custom: #8840af; $custom-light: #ae79c7; $custom-dark: #000000;
JSON
{
"hex": "#8840af",
"rgb": {
"r": 136,
"g": 64,
"b": 175
},
"hsl": {
"h": 278.919,
"s": 46.444,
"l": 46.863
},
"oklch": {
"l": 0.51455,
"c": 0.17618,
"h": 311.7
},
"luminance": 0.11996
}Semantic roles & 50–950 ramp
primary
#8840AF
secondary
#9DC388
accent
#D65280
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82