#9E45BB#9E45BB
#9E45BB is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.6% C 0.190 H 316.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #9E45BB |
|---|---|
| RGB | rgb(158, 69, 187) |
| HSL | hsl(285, 46%, 50%) |
| HSV | hsv(285, 63%, 73%) |
| CMYK | cmyk(15.5%, 63.1%, 0%, 26.7%) |
| CIE-LAB | lab(45.79, 54.86, -46.31) |
| CIE-LCH | lch(45.79, 71.79, 319.83°) |
| OKLab | oklab(55.63% 0.1386 -0.1297) |
| OKLCH | oklch(55.63% 0.19 316.9) |
| XYZ | xyz(25.1970, 15.1142, 48.5941) |
| Luminance | 0.1511 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.28
Darkorchid
#9932CC
ΔE00 4.67
Medium Purple
#9E43A2
ΔE00 4.67
Barney
#AC1DB8
ΔE00 5.28
Ugly Purple
#A442A0
ΔE00 5.59
Amethyst
#9B5FC0
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E45BB #62BB45
analogous
#6345BB #9E45BB #BB459D
triadic
#9E45BB #BB9E45 #45BB9E
tetradic
#9E45BB #BB6345 #62BB45 #459DBB
square
#9E45BB #BB6345 #62BB45 #459DBB
split-complementary
#9E45BB #9DBB45 #45BB63
monochromatic
#532462 #78348F #9E45BB #B572CB #CD9FDC
Accessibility & contrast
On white
5.22
#9E45BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#9E45BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E45BB
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E45BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E45BB | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E67BF
Deuteranopia (green-blind)
#476FB8
Tritanopia (blue-blind)
#9D5A7A
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9e45bb; /* rgb */ color: rgb(158, 69, 187); /* oklch */ color: oklch(55.6% 0.190 316.9);
Tailwind
colors: {
custom: {
50: '#be7ed0',
500: '#9e45bb',
950: '#000000',
},
}SCSS
$custom: #9e45bb; $custom-light: #be7ed0; $custom-dark: #000000;
JSON
{
"hex": "#9e45bb",
"rgb": {
"r": 158,
"g": 69,
"b": 187
},
"hsl": {
"h": 285.254,
"s": 46.457,
"l": 50.196
},
"oklch": {
"l": 0.55631,
"c": 0.18984,
"h": 316.9
},
"luminance": 0.15113
}Semantic roles & 50–950 ramp
primary
#9E45BB
secondary
#A0C894
accent
#D65272
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120A14
muted
#817C82