#852CA9#852CA9
#852CA9 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.195 H 314.1°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #852CA9 |
|---|---|
| RGB | rgb(133, 44, 169) |
| HSL | hsl(283, 59%, 42%) |
| HSV | hsv(283, 74%, 66%) |
| CMYK | cmyk(21.3%, 74%, 0%, 33.7%) |
| CIE-LAB | lab(37.21, 56.35, -49.63) |
| CIE-LCH | lch(37.21, 75.09, 318.63°) |
| OKLab | oklab(48.38% 0.1358 -0.14) |
| OKLCH | oklch(48.38% 0.195 314.1) |
| XYZ | xyz(17.7338, 9.6531, 38.4575) |
| Luminance | 0.0965 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.22
Purply
#983FB2
ΔE00 5.72
Rebeccapurple
#663399
ΔE00 5.90
Darkviolet
#9400D3
ΔE00 6.18
Darkorchid
#9932CC
ΔE00 6.25
Darkmagenta
#8B008B
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#852CA9 #50A92C
analogous
#472CA9 #852CA9 #A92C8F
triadic
#852CA9 #A9852C #2CA985
tetradic
#852CA9 #A9472C #50A92C #2C8FA9
square
#852CA9 #A9472C #50A92C #2C8FA9
split-complementary
#852CA9 #8FA92C #2CA947
monochromatic
#391348 #5F1F78 #852CA9 #A644CE #BD74DB
Accessibility & contrast
On white
7.17
#852CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#852CA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #852CA9
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##852CA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##852CA9 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#245AA6
Tritanopia (blue-blind)
#824768
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #852ca9; /* rgb */ color: rgb(133, 44, 169); /* oklch */ color: oklch(48.4% 0.195 314.1);
Tailwind
colors: {
custom: {
50: '#ad6ec3',
500: '#852ca9',
950: '#000000',
},
}SCSS
$custom: #852ca9; $custom-light: #ad6ec3; $custom-dark: #000000;
JSON
{
"hex": "#852ca9",
"rgb": {
"r": 133,
"g": 44,
"b": 169
},
"hsl": {
"h": 282.72,
"s": 58.685,
"l": 41.765
},
"oklch": {
"l": 0.48375,
"c": 0.1951,
"h": 314.1
},
"luminance": 0.09652
}Semantic roles & 50–950 ramp
primary
#852CA9
secondary
#87C36E
accent
#E24673
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82