#9452CB#9452CB
#9452CB is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.1% C 0.184 H 306.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #9452CB |
|---|---|
| RGB | rgb(148, 82, 203) |
| HSL | hsl(273, 54%, 56%) |
| HSV | hsv(273, 60%, 80%) |
| CMYK | cmyk(27.1%, 59.6%, 0%, 20.4%) |
| CIE-LAB | lab(47.81, 49.58, -52.42) |
| CIE-LCH | lch(47.81, 72.15, 313.40°) |
| OKLab | oklab(57.13% 0.1099 -0.148) |
| OKLCH | oklch(57.13% 0.184 306.6) |
| XYZ | xyz(26.0073, 16.6425, 58.3306) |
| Luminance | 0.1664 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.60
Deep Lavender
#8D5EB7
ΔE00 4.69
Lightish Purple
#A552E6
ΔE00 4.78
Purpley
#8756E4
ΔE00 5.03
Darkorchid
#9932CC
ΔE00 6.03
Purply
#983FB2
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9452CB #89CB52
analogous
#5752CB #9452CB #CB52C6
triadic
#9452CB #CB9452 #52CB94
tetradic
#9452CB #CB5752 #89CB52 #52C6CB
square
#9452CB #CB5752 #89CB52 #52C6CB
split-complementary
#9452CB #C6CB52 #52CB57
monochromatic
#55267D #7534AC #9452CB #B181D9 #CEB0E7
Accessibility & contrast
On white
4.85
#9452CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#9452CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9452CB
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9452CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9452CB | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C6FCF
Deuteranopia (green-blind)
#3C72C8
Tritanopia (blue-blind)
#8B6A87
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9452cb; /* rgb */ color: rgb(148, 82, 203); /* oklch */ color: oklch(57.1% 0.184 306.6);
Tailwind
colors: {
custom: {
50: '#b786db',
500: '#9452cb',
950: '#000000',
},
}SCSS
$custom: #9452cb; $custom-light: #b786db; $custom-dark: #000000;
JSON
{
"hex": "#9452cb",
"rgb": {
"r": 148,
"g": 82,
"b": 203
},
"hsl": {
"h": 272.727,
"s": 53.778,
"l": 55.882
},
"oklch": {
"l": 0.57126,
"c": 0.18432,
"h": 306.6
},
"luminance": 0.16642
}Semantic roles & 50–950 ramp
primary
#9452CB
secondary
#BAD5A3
accent
#DD4B8D
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83