#9151AE#9151AE
#9151AE is a mid, vivid purple. Relative luminance 0.150; OKLCH L 54.9% C 0.152 H 314.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9151AE |
|---|---|
| RGB | rgb(145, 81, 174) |
| HSL | hsl(281, 36%, 50%) |
| HSV | hsv(281, 53%, 68%) |
| CMYK | cmyk(16.7%, 53.4%, 0%, 31.8%) |
| CIE-LAB | lab(45.58, 42.76, -39.13) |
| CIE-LCH | lch(45.58, 57.96, 317.54°) |
| OKLab | oklab(54.88% 0.1063 -0.1092) |
| OKLCH | oklch(54.88% 0.152 314.2) |
| XYZ | xyz(22.2582, 14.9612, 41.7515) |
| Luminance | 0.1496 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.09
Purply
#983FB2
ΔE00 4.10
Medium Purple
#9E43A2
ΔE00 4.84
Amethyst
#9B5FC0
ΔE00 5.18
Royal Purple
#7851A9
ΔE00 5.36
Ugly Purple
#A442A0
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9151AE #6EAE51
analogous
#6251AE #9151AE #AE519D
triadic
#9151AE #AE9151 #51AE91
tetradic
#9151AE #AE6251 #6EAE51 #519DAE
square
#9151AE #AE6251 #6EAE51 #519DAE
split-complementary
#9151AE #9DAE51 #51AE62
monochromatic
#4B2A5A #6E3E84 #9151AE #AB7BC1 #C6A5D5
Accessibility & contrast
On white
5.26
#9151AE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#9151AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9151AE
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9151AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9151AE | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A68B1
Deuteranopia (green-blind)
#4F6EAC
Tritanopia (blue-blind)
#8F6078
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9151ae; /* rgb */ color: rgb(145, 81, 174); /* oklch */ color: oklch(54.9% 0.152 314.2);
Tailwind
colors: {
custom: {
50: '#b384c6',
500: '#9151ae',
950: '#000000',
},
}SCSS
$custom: #9151ae; $custom-light: #b384c6; $custom-dark: #000000;
JSON
{
"hex": "#9151ae",
"rgb": {
"r": 145,
"g": 81,
"b": 174
},
"hsl": {
"h": 281.29,
"s": 36.471,
"l": 50
},
"oklch": {
"l": 0.54879,
"c": 0.15239,
"h": 314.2
},
"luminance": 0.14961
}Semantic roles & 50–950 ramp
primary
#9151AE
secondary
#A6C299
accent
#CC5B7F
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82