#9552BF#9552BF
#9552BF is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.5% C 0.171 H 310.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9552BF |
|---|---|
| RGB | rgb(149, 82, 191) |
| HSL | hsl(277, 46%, 54%) |
| HSV | hsv(277, 57%, 75%) |
| CMYK | cmyk(22%, 57.1%, 0%, 25.1%) |
| CIE-LAB | lab(47.22, 47.07, -46.42) |
| CIE-LCH | lch(47.22, 66.11, 315.40°) |
| OKLab | oklab(56.49% 0.1111 -0.1304) |
| OKLCH | oklch(56.49% 0.171 310.4) |
| XYZ | xyz(24.8139, 16.1862, 51.0972) |
| Luminance | 0.1619 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.73
Amethyst
#9B5FC0
ΔE00 3.88
Purply
#983FB2
ΔE00 4.83
Darkorchid
#9932CC
ΔE00 6.27
Lightish Purple
#A552E6
ΔE00 6.33
Royal Purple
#7851A9
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9552BF #7CBF52
analogous
#5E52BF #9552BF #BF52B2
triadic
#9552BF #BF9552 #52BF95
tetradic
#9552BF #BF5E52 #7CBF52 #52B2BF
square
#9552BF #BF5E52 #7CBF52 #52B2BF
split-complementary
#9552BF #B2BF52 #52BF5E
monochromatic
#53296E #75399B #9552BF #B07FD0 #CCABE0
Accessibility & contrast
On white
4.96
#9552BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#9552BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9552BF
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9552BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9552BF | 1.00 | 4.96 | 4.24 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E6DC3
Deuteranopia (green-blind)
#4871BC
Tritanopia (blue-blind)
#906681
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #9552bf; /* rgb */ color: rgb(149, 82, 191); /* oklch */ color: oklch(56.5% 0.171 310.4);
Tailwind
colors: {
custom: {
50: '#b785d3',
500: '#9552bf',
950: '#000000',
},
}SCSS
$custom: #9552bf; $custom-light: #b785d3; $custom-dark: #000000;
JSON
{
"hex": "#9552bf",
"rgb": {
"r": 149,
"g": 82,
"b": 191
},
"hsl": {
"h": 276.881,
"s": 45.992,
"l": 53.529
},
"oklch": {
"l": 0.56494,
"c": 0.17126,
"h": 310.4
},
"luminance": 0.16186
}Semantic roles & 50–950 ramp
primary
#9552BF
secondary
#B1CE9F
accent
#D65285
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83