#9F49CB#9F49CB
#9F49CB is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.2% C 0.201 H 312.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9F49CB |
|---|---|
| RGB | rgb(159, 73, 203) |
| HSL | hsl(280, 56%, 54%) |
| HSV | hsv(280, 64%, 80%) |
| CMYK | cmyk(21.7%, 64%, 0%, 20.4%) |
| CIE-LAB | lab(47.56, 56.58, -52.75) |
| CIE-LCH | lch(47.56, 77.35, 317.01°) |
| OKLab | oklab(57.24% 0.1348 -0.1485) |
| OKLCH | oklch(57.24% 0.201 312.2) |
| XYZ | xyz(27.4582, 16.4485, 58.2168) |
| Luminance | 0.1645 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.64
Purply
#983FB2
ΔE00 4.80
Lightish Purple
#A552E6
ΔE00 4.90
Amethyst
#9B5FC0
ΔE00 5.50
Deep Lavender
#8D5EB7
ΔE00 6.35
Vibrant Purple
#AD03DE
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F49CB #75CB49
analogous
#5E49CB #9F49CB #CB49B6
triadic
#9F49CB #CB9F49 #49CB9F
tetradic
#9F49CB #CB5E49 #75CB49 #49B6CB
square
#9F49CB #CB5E49 #75CB49 #49B6CB
split-complementary
#9F49CB #B6CB49 #49CB5E
monochromatic
#5B2277 #7F30A7 #9F49CB #B879D9 #D1A8E6
Accessibility & contrast
On white
4.90
#9F49CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#9F49CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F49CB
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F49CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F49CB | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#026CCF
Deuteranopia (green-blind)
#3E73C8
Tritanopia (blue-blind)
#9A6284
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9f49cb; /* rgb */ color: rgb(159, 73, 203); /* oklch */ color: oklch(57.2% 0.201 312.2);
Tailwind
colors: {
custom: {
50: '#bf81db',
500: '#9f49cb',
950: '#000000',
},
}SCSS
$custom: #9f49cb; $custom-light: #bf81db; $custom-dark: #000000;
JSON
{
"hex": "#9f49cb",
"rgb": {
"r": 159,
"g": 73,
"b": 203
},
"hsl": {
"h": 279.692,
"s": 55.556,
"l": 54.118
},
"oklch": {
"l": 0.57244,
"c": 0.20057,
"h": 312.2
},
"luminance": 0.16448
}Semantic roles & 50–950 ramp
primary
#9F49CB
secondary
#AFD49C
accent
#DF497C
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83