#9052CB#9052CB
#9052CB is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.7% C 0.183 H 304.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #9052CB |
|---|---|
| RGB | rgb(144, 82, 203) |
| HSL | hsl(271, 54%, 56%) |
| HSV | hsv(271, 60%, 80%) |
| CMYK | cmyk(29.1%, 59.6%, 0%, 20.4%) |
| CIE-LAB | lab(47.33, 48.63, -53.21) |
| CIE-LCH | lch(47.33, 72.08, 312.43°) |
| OKLab | oklab(56.68% 0.1048 -0.1504) |
| OKLCH | oklch(56.68% 0.183 304.9) |
| XYZ | xyz(25.2960, 16.2758, 58.2972) |
| Luminance | 0.1628 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.59
Deep Lavender
#8D5EB7
ΔE00 4.77
Amethyst
#9B5FC0
ΔE00 5.12
Lightish Purple
#A552E6
ΔE00 5.23
Darkorchid
#9932CC
ΔE00 6.04
Purply
#983FB2
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9052CB #8DCB52
analogous
#5352CB #9052CB #CB52C9
triadic
#9052CB #CB9052 #52CB90
tetradic
#9052CB #CB5352 #8DCB52 #52C9CB
square
#9052CB #CB5352 #8DCB52 #52C9CB
split-complementary
#9052CB #C9CB52 #52CB53
monochromatic
#52267D #7134AC #9052CB #AE81D9 #CCB0E7
Accessibility & contrast
On white
4.94
#9052CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#9052CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9052CB
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9052CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9052CB | 1.00 | 4.94 | 4.26 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#186FCF
Deuteranopia (green-blind)
#3870C8
Tritanopia (blue-blind)
#866A87
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #9052cb; /* rgb */ color: rgb(144, 82, 203); /* oklch */ color: oklch(56.7% 0.183 304.9);
Tailwind
colors: {
custom: {
50: '#b485db',
500: '#9052cb',
950: '#000000',
},
}SCSS
$custom: #9052cb; $custom-light: #b485db; $custom-dark: #000000;
JSON
{
"hex": "#9052cb",
"rgb": {
"r": 144,
"g": 82,
"b": 203
},
"hsl": {
"h": 270.744,
"s": 53.778,
"l": 55.882
},
"oklch": {
"l": 0.56678,
"c": 0.18327,
"h": 304.9
},
"luminance": 0.16276
}Semantic roles & 50–950 ramp
primary
#9052CB
secondary
#BCD5A3
accent
#DD4B92
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83