#9545C8#9545C8
#9545C8 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.3% C 0.200 H 309.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #9545C8 |
|---|---|
| RGB | rgb(149, 69, 200) |
| HSL | hsl(277, 54%, 53%) |
| HSV | hsv(277, 66%, 78%) |
| CMYK | cmyk(25.5%, 65.5%, 0%, 21.6%) |
| CIE-LAB | lab(45.38, 55.55, -54.58) |
| CIE-LCH | lch(45.38, 77.88, 315.51°) |
| OKLab | oklab(55.34% 0.1268 -0.1542) |
| OKLCH | oklch(55.34% 0.2 309.4) |
| XYZ | xyz(24.9458, 14.8164, 56.1781) |
| Luminance | 0.1482 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.13
Purply
#983FB2
ΔE00 4.09
Blueviolet
#8A2BE2
ΔE00 6.08
Vibrant Purple
#AD03DE
ΔE00 6.17
Lightish Purple
#A552E6
ΔE00 6.46
Purpley
#8756E4
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9545C8 #78C845
analogous
#5345C8 #9545C8 #C845BA
triadic
#9545C8 #C89545 #45C895
tetradic
#9545C8 #C85345 #78C845 #45BAC8
square
#9545C8 #C85345 #78C845 #45BAC8
split-complementary
#9545C8 #BAC845 #45C853
monochromatic
#522171 #742FA0 #9545C8 #B074D6 #CBA3E4
Accessibility & contrast
On white
5.30
#9545C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#9545C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9545C8
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9545C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9545C8 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#306DC5
Tritanopia (blue-blind)
#8E6081
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9545c8; /* rgb */ color: rgb(149, 69, 200); /* oklch */ color: oklch(55.3% 0.200 309.4);
Tailwind
colors: {
custom: {
50: '#b87ed9',
500: '#9545c8',
950: '#000000',
},
}SCSS
$custom: #9545c8; $custom-light: #b87ed9; $custom-dark: #000000;
JSON
{
"hex": "#9545c8",
"rgb": {
"r": 149,
"g": 69,
"b": 200
},
"hsl": {
"h": 276.641,
"s": 54.357,
"l": 52.745
},
"oklch": {
"l": 0.55337,
"c": 0.19963,
"h": 309.4
},
"luminance": 0.14816
}Semantic roles & 50–950 ramp
primary
#9545C8
secondary
#AED198
accent
#DE4A84
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83