#9556BF#9556BF
#9556BF is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.1% C 0.165 H 309.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9556BF |
|---|---|
| RGB | rgb(149, 86, 191) |
| HSL | hsl(276, 45%, 54%) |
| HSV | hsv(276, 55%, 75%) |
| CMYK | cmyk(22%, 55%, 0%, 25.1%) |
| CIE-LAB | lab(48.02, 44.96, -45.15) |
| CIE-LCH | lch(48.02, 63.72, 314.88°) |
| OKLab | oklab(57.08% 0.1058 -0.1267) |
| OKLCH | oklch(57.08% 0.165 309.9) |
| XYZ | xyz(25.1244, 16.8072, 51.2007) |
| Luminance | 0.1681 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.91
Amethyst
#9B5FC0
ΔE00 2.92
Purply
#983FB2
ΔE00 5.74
Lightish Purple
#A552E6
ΔE00 6.23
Royal Purple
#7851A9
ΔE00 6.56
Purpley
#8756E4
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9556BF #80BF56
analogous
#6156BF #9556BF #BF56B5
triadic
#9556BF #BF9556 #56BF95
tetradic
#9556BF #BF6156 #80BF56 #56B5BF
square
#9556BF #BF6156 #80BF56 #56B5BF
split-complementary
#9556BF #B5BF56 #56BF61
monochromatic
#542A70 #763B9D #9556BF #B182D0 #CDAFE1
Accessibility & contrast
On white
4.81
#9556BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#9556BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9556BF
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9556BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9556BF | 1.00 | 4.81 | 4.36 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#366FC2
Deuteranopia (green-blind)
#4C73BC
Tritanopia (blue-blind)
#906982
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9556bf; /* rgb */ color: rgb(149, 86, 191); /* oklch */ color: oklch(57.1% 0.165 309.9);
Tailwind
colors: {
custom: {
50: '#b788d3',
500: '#9556bf',
950: '#000000',
},
}SCSS
$custom: #9556bf; $custom-light: #b788d3; $custom-dark: #000000;
JSON
{
"hex": "#9556bf",
"rgb": {
"r": 149,
"g": 86,
"b": 191
},
"hsl": {
"h": 276,
"s": 45.064,
"l": 54.314
},
"oklch": {
"l": 0.5708,
"c": 0.16503,
"h": 309.9
},
"luminance": 0.16807
}Semantic roles & 50–950 ramp
primary
#9556BF
secondary
#B4CFA2
accent
#D55387
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120B14
muted
#817C83