#9F48BD#9F48BD
#9F48BD is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.2% C 0.188 H 316.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9F48BD |
|---|---|
| RGB | rgb(159, 72, 189) |
| HSL | hsl(285, 47%, 51%) |
| HSV | hsv(285, 62%, 74%) |
| CMYK | cmyk(15.9%, 61.9%, 0%, 25.9%) |
| CIE-LAB | lab(46.55, 54.11, -46.25) |
| CIE-LCH | lch(46.55, 71.18, 319.48°) |
| OKLab | oklab(56.25% 0.1362 -0.1295) |
| OKLCH | oklch(56.25% 0.188 316.5) |
| XYZ | xyz(25.7994, 15.6807, 49.8019) |
| Luminance | 0.1568 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.02
Medium Purple
#9E43A2
ΔE00 5.04
Darkorchid
#9932CC
ΔE00 5.10
Amethyst
#9B5FC0
ΔE00 5.61
Ugly Purple
#A442A0
ΔE00 5.88
Barney
#AC1DB8
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F48BD #66BD48
analogous
#6448BD #9F48BD #BD48A0
triadic
#9F48BD #BD9F48 #48BD9F
tetradic
#9F48BD #BD6448 #66BD48 #48A0BD
square
#9F48BD #BD6448 #66BD48 #48A0BD
split-complementary
#9F48BD #A0BD48 #48BD64
monochromatic
#552566 #7B3593 #9F48BD #B775CD #CEA2DD
Accessibility & contrast
On white
5.08
#9F48BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#9F48BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F48BD
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F48BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F48BD | 1.00 | 5.08 | 4.14 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2369C1
Deuteranopia (green-blind)
#4971BA
Tritanopia (blue-blind)
#9D5D7C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9f48bd; /* rgb */ color: rgb(159, 72, 189); /* oklch */ color: oklch(56.2% 0.188 316.5);
Tailwind
colors: {
custom: {
50: '#be80d1',
500: '#9f48bd',
950: '#000000',
},
}SCSS
$custom: #9f48bd; $custom-light: #be80d1; $custom-dark: #000000;
JSON
{
"hex": "#9f48bd",
"rgb": {
"r": 159,
"g": 72,
"b": 189
},
"hsl": {
"h": 284.615,
"s": 46.988,
"l": 51.176
},
"oklch": {
"l": 0.56249,
"c": 0.18796,
"h": 316.5
},
"luminance": 0.1568
}Semantic roles & 50–950 ramp
primary
#9F48BD
secondary
#A4CA97
accent
#D75173
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82