#9052BC#9052BC
#9052BC is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.7% C 0.166 H 309.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9052BC |
|---|---|
| RGB | rgb(144, 82, 188) |
| HSL | hsl(275, 44%, 53%) |
| HSV | hsv(275, 56%, 74%) |
| CMYK | cmyk(23.4%, 56.4%, 0%, 26.3%) |
| CIE-LAB | lab(46.44, 45.11, -45.96) |
| CIE-LCH | lch(46.44, 64.40, 314.46°) |
| OKLab | oklab(55.74% 0.1046 -0.1292) |
| OKLCH | oklch(55.74% 0.166 309) |
| XYZ | xyz(23.5942, 15.5951, 49.3344) |
| Luminance | 0.1560 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.50
Amethyst
#9B5FC0
ΔE00 4.45
Purply
#983FB2
ΔE00 4.80
Royal Purple
#7851A9
ΔE00 5.33
Darkorchid
#9932CC
ΔE00 6.34
Medium Purple
#9E43A2
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9052BC #7EBC52
analogous
#5B52BC #9052BC #BC52B3
triadic
#9052BC #BC9052 #52BC90
tetradic
#9052BC #BC5B52 #7EBC52 #52B3BC
square
#9052BC #BC5B52 #7EBC52 #52B3BC
split-complementary
#9052BC #B3BC52 #52BC5B
monochromatic
#4F296A #703A97 #9052BC #AC7ECD #C9AADE
Accessibility & contrast
On white
5.10
#9052BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#9052BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9052BC
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9052BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9052BC | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F6BBF
Deuteranopia (green-blind)
#466FB9
Tritanopia (blue-blind)
#8A657F
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9052bc; /* rgb */ color: rgb(144, 82, 188); /* oklch */ color: oklch(55.7% 0.166 309.0);
Tailwind
colors: {
custom: {
50: '#b385d1',
500: '#9052bc',
950: '#000000',
},
}SCSS
$custom: #9052bc; $custom-light: #b385d1; $custom-dark: #000000;
JSON
{
"hex": "#9052bc",
"rgb": {
"r": 144,
"g": 82,
"b": 188
},
"hsl": {
"h": 275.094,
"s": 44.167,
"l": 52.941
},
"oklch": {
"l": 0.55735,
"c": 0.16618,
"h": 309
},
"luminance": 0.15595
}Semantic roles & 50–950 ramp
primary
#9052BC
secondary
#B1CC9E
accent
#D45489
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82