#9F49BB#9F49BB
#9F49BB is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.3% C 0.185 H 317.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9F49BB |
|---|---|
| RGB | rgb(159, 73, 187) |
| HSL | hsl(285, 46%, 51%) |
| HSV | hsv(285, 61%, 73%) |
| CMYK | cmyk(15%, 61%, 0%, 26.7%) |
| CIE-LAB | lab(46.61, 53.23, -44.99) |
| CIE-LCH | lch(46.61, 69.70, 319.80°) |
| OKLab | oklab(56.26% 0.135 -0.1258) |
| OKLCH | oklch(56.26% 0.185 317) |
| XYZ | xyz(25.6489, 15.7248, 48.6882) |
| Luminance | 0.1572 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.05
Medium Purple
#9E43A2
ΔE00 4.75
Darkorchid
#9932CC
ΔE00 5.46
Amethyst
#9B5FC0
ΔE00 5.46
Ugly Purple
#A442A0
ΔE00 5.57
Barney
#AC1DB8
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F49BB #65BB49
analogous
#6649BB #9F49BB #BB499E
triadic
#9F49BB #BB9F49 #49BB9F
tetradic
#9F49BB #BB6649 #65BB49 #499EBB
square
#9F49BB #BB6649 #65BB49 #499EBB
split-complementary
#9F49BB #9EBB49 #49BB66
monochromatic
#552564 #7A3691 #9F49BB #B676CC #CEA2DC
Accessibility & contrast
On white
5.07
#9F49BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#9F49BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F49BB
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F49BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F49BB | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2869BF
Deuteranopia (green-blind)
#4C71B8
Tritanopia (blue-blind)
#9E5C7B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9f49bb; /* rgb */ color: rgb(159, 73, 187); /* oklch */ color: oklch(56.3% 0.185 317.0);
Tailwind
colors: {
custom: {
50: '#be81d0',
500: '#9f49bb',
950: '#000000',
},
}SCSS
$custom: #9f49bb; $custom-light: #be81d0; $custom-dark: #000000;
JSON
{
"hex": "#9f49bb",
"rgb": {
"r": 159,
"g": 73,
"b": 187
},
"hsl": {
"h": 285.263,
"s": 45.6,
"l": 50.98
},
"oklch": {
"l": 0.56255,
"c": 0.18453,
"h": 317
},
"luminance": 0.15724
}Semantic roles & 50–950 ramp
primary
#9F49BB
secondary
#A3C997
accent
#D55373
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82