#9549CB#9549CB
#9549CB is a mid, vivid violet. Relative luminance 0.155; OKLCH L 56.0% C 0.197 H 308.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9549CB |
|---|---|
| RGB | rgb(149, 73, 203) |
| HSL | hsl(275, 56%, 54%) |
| HSV | hsv(275, 64%, 80%) |
| CMYK | cmyk(26.6%, 64%, 0%, 20.4%) |
| CIE-LAB | lab(46.27, 54.32, -54.89) |
| CIE-LCH | lch(46.27, 77.22, 314.70°) |
| OKLab | oklab(56.04% 0.122 -0.1551) |
| OKLCH | oklch(56.04% 0.197 308.2) |
| XYZ | xyz(25.5543, 15.4668, 58.1275) |
| Luminance | 0.1547 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.99
Purply
#983FB2
ΔE00 4.87
Lightish Purple
#A552E6
ΔE00 5.61
Purpley
#8756E4
ΔE00 5.85
Deep Lavender
#8D5EB7
ΔE00 6.22
Amethyst
#9B5FC0
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9549CB #7FCB49
analogous
#5449CB #9549CB #CB49C0
triadic
#9549CB #CB9549 #49CB95
tetradic
#9549CB #CB5449 #7FCB49 #49C0CB
square
#9549CB #CB5449 #7FCB49 #49C0CB
split-complementary
#9549CB #C0CB49 #49CB54
monochromatic
#542277 #7530A7 #9549CB #B179D9 #CCA8E6
Accessibility & contrast
On white
5.13
#9549CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#9549CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9549CB
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9549CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9549CB | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#326EC8
Tritanopia (blue-blind)
#8D6484
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9549cb; /* rgb */ color: rgb(149, 73, 203); /* oklch */ color: oklch(56.0% 0.197 308.2);
Tailwind
colors: {
custom: {
50: '#b880db',
500: '#9549cb',
950: '#000000',
},
}SCSS
$custom: #9549cb; $custom-light: #b880db; $custom-dark: #000000;
JSON
{
"hex": "#9549cb",
"rgb": {
"r": 149,
"g": 73,
"b": 203
},
"hsl": {
"h": 275.077,
"s": 55.556,
"l": 54.118
},
"oklch": {
"l": 0.56037,
"c": 0.19735,
"h": 308.2
},
"luminance": 0.15466
}Semantic roles & 50–950 ramp
primary
#9549CB
secondary
#B3D49C
accent
#DF4987
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83