#9452CC#9452CC
#9452CC is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.2% C 0.185 H 306.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9452CC |
|---|---|
| RGB | rgb(148, 82, 204) |
| HSL | hsl(272, 54%, 56%) |
| HSV | hsv(272, 60%, 80%) |
| CMYK | cmyk(27.5%, 59.8%, 0%, 20%) |
| CIE-LAB | lab(47.87, 49.81, -52.90) |
| CIE-LCH | lch(47.87, 72.66, 313.28°) |
| OKLab | oklab(57.19% 0.1099 -0.1494) |
| OKLCH | oklch(57.19% 0.185 306.3) |
| XYZ | xyz(26.1268, 16.6904, 58.9602) |
| Luminance | 0.1669 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.67
Amethyst
#9B5FC0
ΔE00 4.68
Deep Lavender
#8D5EB7
ΔE00 4.80
Purpley
#8756E4
ΔE00 4.88
Darkorchid
#9932CC
ΔE00 6.05
Purply
#983FB2
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9452CC #8ACC52
analogous
#5752CC #9452CC #CC52C7
triadic
#9452CC #CC9452 #52CC94
tetradic
#9452CC #CC5752 #8ACC52 #52C7CC
square
#9452CC #CC5752 #8ACC52 #52C7CC
split-complementary
#9452CC #C7CC52 #52CC57
monochromatic
#55257E #7533AE #9452CC #B181DA #CEB1E8
Accessibility & contrast
On white
4.84
#9452CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#9452CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9452CC
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9452CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9452CC | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A6FD0
Deuteranopia (green-blind)
#3B72C9
Tritanopia (blue-blind)
#8B6A87
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9452cc; /* rgb */ color: rgb(148, 82, 204); /* oklch */ color: oklch(57.2% 0.185 306.3);
Tailwind
colors: {
custom: {
50: '#b786dc',
500: '#9452cc',
950: '#000000',
},
}SCSS
$custom: #9452cc; $custom-light: #b786dc; $custom-dark: #000000;
JSON
{
"hex": "#9452cc",
"rgb": {
"r": 148,
"g": 82,
"b": 204
},
"hsl": {
"h": 272.459,
"s": 54.464,
"l": 56.078
},
"oklch": {
"l": 0.5719,
"c": 0.18544,
"h": 306.3
},
"luminance": 0.1669
}Semantic roles & 50–950 ramp
primary
#9452CC
secondary
#BBD6A4
accent
#DE4A8E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83