#9052BF#9052BF
#9052BF is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.9% C 0.170 H 308.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9052BF |
|---|---|
| RGB | rgb(144, 82, 191) |
| HSL | hsl(274, 46%, 54%) |
| HSV | hsv(274, 57%, 75%) |
| CMYK | cmyk(24.6%, 57.1%, 0%, 25.1%) |
| CIE-LAB | lab(46.61, 45.80, -47.43) |
| CIE-LCH | lch(46.61, 65.93, 314.00°) |
| OKLab | oklab(55.92% 0.1047 -0.1334) |
| OKLCH | oklch(55.92% 0.17 308.1) |
| XYZ | xyz(23.9210, 15.7258, 51.0553) |
| Luminance | 0.1573 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.66
Amethyst
#9B5FC0
ΔE00 4.49
Purply
#983FB2
ΔE00 5.06
Royal Purple
#7851A9
ΔE00 5.53
Darkorchid
#9932CC
ΔE00 6.19
Purpley
#8756E4
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9052BF #81BF52
analogous
#5952BF #9052BF #BF52B8
triadic
#9052BF #BF9052 #52BF90
tetradic
#9052BF #BF5952 #81BF52 #52B8BF
square
#9052BF #BF5952 #81BF52 #52B8BF
split-complementary
#9052BF #B8BF52 #52BF59
monochromatic
#50296E #71399B #9052BF #AD7FD0 #C9ABE0
Accessibility & contrast
On white
5.07
#9052BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#9052BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9052BF
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9052BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9052BF | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B6CC3
Deuteranopia (green-blind)
#436FBC
Tritanopia (blue-blind)
#896681
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9052bf; /* rgb */ color: rgb(144, 82, 191); /* oklch */ color: oklch(55.9% 0.170 308.1);
Tailwind
colors: {
custom: {
50: '#b385d3',
500: '#9052bf',
950: '#000000',
},
}SCSS
$custom: #9052bf; $custom-light: #b385d3; $custom-dark: #000000;
JSON
{
"hex": "#9052bf",
"rgb": {
"r": 144,
"g": 82,
"b": 191
},
"hsl": {
"h": 274.128,
"s": 45.992,
"l": 53.529
},
"oklch": {
"l": 0.55918,
"c": 0.16959,
"h": 308.1
},
"luminance": 0.15725
}Semantic roles & 50–950 ramp
primary
#9052BF
secondary
#B3CE9F
accent
#D6528B
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83