#8951AF#8951AF
#8951AF is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.0% C 0.150 H 309.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #8951AF |
|---|---|
| RGB | rgb(137, 81, 175) |
| HSL | hsl(276, 37%, 50%) |
| HSV | hsv(276, 54%, 69%) |
| CMYK | cmyk(21.7%, 53.7%, 0%, 31.4%) |
| CIE-LAB | lab(44.66, 40.79, -41.24) |
| CIE-LCH | lch(44.66, 58.01, 314.69°) |
| OKLab | oklab(54% 0.0962 -0.1156) |
| OKLCH | oklch(54% 0.15 309.8) |
| XYZ | xyz(20.9954, 14.2987, 42.2030) |
| Luminance | 0.1430 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.60
Deep Lavender
#8D5EB7
ΔE00 3.96
Purply
#983FB2
ΔE00 4.68
Amethyst
#9B5FC0
ΔE00 5.90
Medium Purple
#9E43A2
ΔE00 6.26
Darkorchid
#9932CC
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8951AF #77AF51
analogous
#5A51AF #8951AF #AF51A6
triadic
#8951AF #AF8951 #51AF89
tetradic
#8951AF #AF5A51 #77AF51 #51A6AF
square
#8951AF #AF5A51 #77AF51 #51A6AF
split-complementary
#8951AF #A6AF51 #51AF5A
monochromatic
#482A5C #683D85 #8951AF #A57BC2 #C2A5D6
Accessibility & contrast
On white
5.44
#8951AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#8951AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8951AF
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8951AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8951AF | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3667B2
Deuteranopia (green-blind)
#486BAD
Tritanopia (blue-blind)
#846178
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8951af; /* rgb */ color: rgb(137, 81, 175); /* oklch */ color: oklch(54.0% 0.150 309.8);
Tailwind
colors: {
custom: {
50: '#ae84c7',
500: '#8951af',
950: '#000000',
},
}SCSS
$custom: #8951af; $custom-light: #ae84c7; $custom-dark: #000000;
JSON
{
"hex": "#8951af",
"rgb": {
"r": 137,
"g": 81,
"b": 175
},
"hsl": {
"h": 275.745,
"s": 37.008,
"l": 50.196
},
"oklch": {
"l": 0.54001,
"c": 0.15037,
"h": 309.8
},
"luminance": 0.14298
}Semantic roles & 50–950 ramp
primary
#8951AF
secondary
#AAC399
accent
#CD5B89
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#100B13
muted
#7F7C82