#9151D9#9151D9
#9151D9 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.6% C 0.201 H 302.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9151D9 |
|---|---|
| RGB | rgb(145, 81, 217) |
| HSL | hsl(268, 64%, 58%) |
| HSV | hsv(268, 63%, 85%) |
| CMYK | cmyk(33.2%, 62.7%, 0%, 14.9%) |
| CIE-LAB | lab(48.15, 52.74, -59.90) |
| CIE-LCH | lch(48.15, 79.81, 311.36°) |
| OKLab | oklab(57.58% 0.1067 -0.17) |
| OKLCH | oklch(57.58% 0.201 302.1) |
| XYZ | xyz(27.1409, 16.9143, 67.4671) |
| Luminance | 0.1691 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.88
Lightish Purple
#A552E6
ΔE00 4.05
Lighter Purple
#A55AF4
ΔE00 5.96
Amethyst
#9B5FC0
ΔE00 6.39
Darkorchid
#9932CC
ΔE00 6.42
Deep Lavender
#8D5EB7
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9151D9 #99D951
analogous
#5155D9 #9151D9 #D551D9
triadic
#9151D9 #D99151 #51D991
tetradic
#9151D9 #D95155 #99D951 #51D9D5
square
#9151D9 #D95155 #99D951 #51D9D5
split-complementary
#9151D9 #D9D551 #55D951
monochromatic
#541F90 #722AC2 #9151D9 #B183E4 #D1B5EF
Accessibility & contrast
On white
4.79
#9151D9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#9151D9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9151D9
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9151D9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9151D9 | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#2372D6
Tritanopia (blue-blind)
#836E8E
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9151d9; /* rgb */ color: rgb(145, 81, 217); /* oklch */ color: oklch(57.6% 0.201 302.1);
Tailwind
colors: {
custom: {
50: '#b685e5',
500: '#9151d9',
950: '#000000',
},
}SCSS
$custom: #9151d9; $custom-light: #b685e5; $custom-dark: #000000;
JSON
{
"hex": "#9151d9",
"rgb": {
"r": 145,
"g": 81,
"b": 217
},
"hsl": {
"h": 268.235,
"s": 64.151,
"l": 58.431
},
"oklch": {
"l": 0.57583,
"c": 0.20071,
"h": 302.1
},
"luminance": 0.16914
}Semantic roles & 50–950 ramp
primary
#9151D9
secondary
#C4DEA8
accent
#E74199
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84