#9552C8#9552C8
#9552C8 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.0% C 0.181 H 307.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9552C8 |
|---|---|
| RGB | rgb(149, 82, 200) |
| HSL | hsl(274, 52%, 55%) |
| HSV | hsv(274, 59%, 78%) |
| CMYK | cmyk(25.5%, 59%, 0%, 21.6%) |
| CIE-LAB | lab(47.75, 49.12, -50.79) |
| CIE-LCH | lch(47.75, 70.66, 314.05°) |
| OKLab | oklab(57.05% 0.1112 -0.1431) |
| OKLCH | oklch(57.05% 0.181 307.8) |
| XYZ | xyz(25.8349, 16.5946, 56.4745) |
| Luminance | 0.1659 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.26
Deep Lavender
#8D5EB7
ΔE00 4.39
Lightish Purple
#A552E6
ΔE00 5.06
Purpley
#8756E4
ΔE00 5.60
Purply
#983FB2
ΔE00 5.76
Darkorchid
#9932CC
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9552C8 #85C852
analogous
#5A52C8 #9552C8 #C852C0
triadic
#9552C8 #C89552 #52C895
tetradic
#9552C8 #C85A52 #85C852 #52C0C8
square
#9552C8 #C85A52 #85C852 #52C0C8
split-complementary
#9552C8 #C0C852 #52C85A
monochromatic
#552779 #7635A8 #9552C8 #B180D7 #CEAFE6
Accessibility & contrast
On white
4.86
#9552C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#9552C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9552C8
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9552C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9552C8 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#226FCC
Deuteranopia (green-blind)
#4072C5
Tritanopia (blue-blind)
#8D6985
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9552c8; /* rgb */ color: rgb(149, 82, 200); /* oklch */ color: oklch(57.0% 0.181 307.8);
Tailwind
colors: {
custom: {
50: '#b786d9',
500: '#9552c8',
950: '#000000',
},
}SCSS
$custom: #9552c8; $custom-light: #b786d9; $custom-dark: #000000;
JSON
{
"hex": "#9552c8",
"rgb": {
"r": 149,
"g": 82,
"b": 200
},
"hsl": {
"h": 274.068,
"s": 51.754,
"l": 55.294
},
"oklch": {
"l": 0.5705,
"c": 0.18127,
"h": 307.8
},
"luminance": 0.16594
}Semantic roles & 50–950 ramp
primary
#9552C8
secondary
#B8D4A2
accent
#DB4D8A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83