#9F48BF#9F48BF
#9F48BF is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.4% C 0.190 H 315.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9F48BF |
|---|---|
| RGB | rgb(159, 72, 191) |
| HSL | hsl(284, 48%, 52%) |
| HSV | hsv(284, 62%, 75%) |
| CMYK | cmyk(16.8%, 62.3%, 0%, 25.1%) |
| CIE-LAB | lab(46.67, 54.53, -47.22) |
| CIE-LCH | lch(46.67, 72.13, 319.10°) |
| OKLab | oklab(56.37% 0.1362 -0.1324) |
| OKLCH | oklch(56.37% 0.19 315.8) |
| XYZ | xyz(26.0180, 15.7682, 50.9531) |
| Luminance | 0.1577 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.21
Darkorchid
#9932CC
ΔE00 4.93
Medium Purple
#9E43A2
ΔE00 5.38
Amethyst
#9B5FC0
ΔE00 5.56
Barney
#AC1DB8
ΔE00 5.99
Deep Lavender
#8D5EB7
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F48BF #68BF48
analogous
#6448BF #9F48BF #BF48A3
triadic
#9F48BF #BF9F48 #48BF9F
tetradic
#9F48BF #BF6448 #68BF48 #48A3BF
square
#9F48BF #BF6448 #68BF48 #48A3BF
split-complementary
#9F48BF #A3BF48 #48BF64
monochromatic
#562468 #7B3496 #9F48BF #B775CF #CFA3DF
Accessibility & contrast
On white
5.06
#9F48BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#9F48BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F48BF
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F48BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F48BF | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2069C3
Deuteranopia (green-blind)
#4871BC
Tritanopia (blue-blind)
#9D5D7D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #9f48bf; /* rgb */ color: rgb(159, 72, 191); /* oklch */ color: oklch(56.4% 0.190 315.8);
Tailwind
colors: {
custom: {
50: '#be80d3',
500: '#9f48bf',
950: '#000000',
},
}SCSS
$custom: #9f48bf; $custom-light: #be80d3; $custom-dark: #000000;
JSON
{
"hex": "#9f48bf",
"rgb": {
"r": 159,
"g": 72,
"b": 191
},
"hsl": {
"h": 283.866,
"s": 48.178,
"l": 51.569
},
"oklch": {
"l": 0.56371,
"c": 0.18994,
"h": 315.8
},
"luminance": 0.15767
}Semantic roles & 50–950 ramp
primary
#9F48BF
secondary
#A5CC97
accent
#D85075
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120B14
muted
#817C83