#9E48BC#9E48BC
#9E48BC is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.1% C 0.187 H 316.4°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9E48BC |
|---|---|
| RGB | rgb(158, 72, 188) |
| HSL | hsl(284, 46%, 51%) |
| HSV | hsv(284, 62%, 74%) |
| CMYK | cmyk(16%, 61.7%, 0%, 26.3%) |
| CIE-LAB | lab(46.36, 53.66, -45.98) |
| CIE-LCH | lch(46.36, 70.67, 319.41°) |
| OKLab | oklab(56.06% 0.135 -0.1288) |
| OKLCH | oklch(56.06% 0.187 316.4) |
| XYZ | xyz(25.4936, 15.5356, 49.2230) |
| Luminance | 0.1553 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.84
Medium Purple
#9E43A2
ΔE00 4.92
Darkorchid
#9932CC
ΔE00 5.07
Amethyst
#9B5FC0
ΔE00 5.66
Ugly Purple
#A442A0
ΔE00 5.80
Barney
#AC1DB8
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E48BC #66BC48
analogous
#6448BC #9E48BC #BC48A0
triadic
#9E48BC #BC9E48 #48BC9E
tetradic
#9E48BC #BC6448 #66BC48 #48A0BC
square
#9E48BC #BC6448 #66BC48 #48A0BC
split-complementary
#9E48BC #A0BC48 #48BC64
monochromatic
#542565 #7A3592 #9E48BC #B675CC #CDA2DD
Accessibility & contrast
On white
5.11
#9E48BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#9E48BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E48BC
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E48BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E48BC | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2469C0
Deuteranopia (green-blind)
#4970B9
Tritanopia (blue-blind)
#9C5C7B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9e48bc; /* rgb */ color: rgb(158, 72, 188); /* oklch */ color: oklch(56.1% 0.187 316.4);
Tailwind
colors: {
custom: {
50: '#be80d1',
500: '#9e48bc',
950: '#000000',
},
}SCSS
$custom: #9e48bc; $custom-light: #be80d1; $custom-dark: #000000;
JSON
{
"hex": "#9e48bc",
"rgb": {
"r": 158,
"g": 72,
"b": 188
},
"hsl": {
"h": 284.483,
"s": 46.4,
"l": 50.98
},
"oklch": {
"l": 0.56062,
"c": 0.18655,
"h": 316.4
},
"luminance": 0.15535
}Semantic roles & 50–950 ramp
primary
#9E48BC
secondary
#A3CA96
accent
#D65274
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82