#9F48BC#9F48BC
#9F48BC is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.2% C 0.187 H 316.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9F48BC |
|---|---|
| RGB | rgb(159, 72, 188) |
| HSL | hsl(285, 46%, 51%) |
| HSV | hsv(285, 62%, 74%) |
| CMYK | cmyk(15.4%, 61.7%, 0%, 26.3%) |
| CIE-LAB | lab(46.50, 53.91, -45.76) |
| CIE-LCH | lch(46.50, 70.71, 319.68°) |
| OKLab | oklab(56.19% 0.1362 -0.1281) |
| OKLCH | oklch(56.19% 0.187 316.8) |
| XYZ | xyz(25.6912, 15.6375, 49.2322) |
| Luminance | 0.1564 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.94
Medium Purple
#9E43A2
ΔE00 4.87
Darkorchid
#9932CC
ΔE00 5.19
Amethyst
#9B5FC0
ΔE00 5.63
Ugly Purple
#A442A0
ΔE00 5.71
Barney
#AC1DB8
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F48BC #65BC48
analogous
#6548BC #9F48BC #BC489F
triadic
#9F48BC #BC9F48 #48BC9F
tetradic
#9F48BC #BC6548 #65BC48 #489FBC
square
#9F48BC #BC6548 #65BC48 #489FBC
split-complementary
#9F48BC #9FBC48 #48BC65
monochromatic
#552565 #7A3592 #9F48BC #B775CC #CEA2DD
Accessibility & contrast
On white
5.09
#9F48BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#9F48BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F48BC
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F48BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F48BC | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2469C0
Deuteranopia (green-blind)
#4A71B9
Tritanopia (blue-blind)
#9E5C7B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9f48bc; /* rgb */ color: rgb(159, 72, 188); /* oklch */ color: oklch(56.2% 0.187 316.8);
Tailwind
colors: {
custom: {
50: '#be80d1',
500: '#9f48bc',
950: '#000000',
},
}SCSS
$custom: #9f48bc; $custom-light: #be80d1; $custom-dark: #000000;
JSON
{
"hex": "#9f48bc",
"rgb": {
"r": 159,
"g": 72,
"b": 188
},
"hsl": {
"h": 285,
"s": 46.4,
"l": 50.98
},
"oklch": {
"l": 0.56189,
"c": 0.18697,
"h": 316.8
},
"luminance": 0.15636
}Semantic roles & 50–950 ramp
primary
#9F48BC
secondary
#A3CA96
accent
#D65273
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82