#852AAA#852AAA
#852AAA is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.3% C 0.198 H 314.0°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #852AAA |
|---|---|
| RGB | rgb(133, 42, 170) |
| HSL | hsl(283, 60%, 42%) |
| HSV | hsv(283, 75%, 67%) |
| CMYK | cmyk(21.8%, 75.3%, 0%, 33.3%) |
| CIE-LAB | lab(37.01, 57.32, -50.55) |
| CIE-LCH | lch(37.01, 76.42, 318.59°) |
| OKLab | oklab(48.26% 0.1376 -0.1427) |
| OKLCH | oklch(48.26% 0.198 314) |
| XYZ | xyz(17.7553, 9.5453, 38.9296) |
| Luminance | 0.0954 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.10
Rebeccapurple
#663399
ΔE00 5.93
Purply
#983FB2
ΔE00 5.95
Darkviolet
#9400D3
ΔE00 5.96
Darkorchid
#9932CC
ΔE00 6.26
Darkmagenta
#8B008B
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#852AAA #4FAA2A
analogous
#452AAA #852AAA #AA2A8F
triadic
#852AAA #AA852A #2AAA85
tetradic
#852AAA #AA452A #4FAA2A #2A8FAA
square
#852AAA #AA452A #4FAA2A #2A8FAA
split-complementary
#852AAA #8FAA2A #2AAA45
monochromatic
#381248 #5F1E79 #852AAA #A741D0 #BE72DC
Accessibility & contrast
On white
7.22
#852AAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#852AAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #852AAA
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##852AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##852AAA | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#2059A7
Tritanopia (blue-blind)
#814768
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #852aaa; /* rgb */ color: rgb(133, 42, 170); /* oklch */ color: oklch(48.3% 0.198 314.0);
Tailwind
colors: {
custom: {
50: '#ad6dc4',
500: '#852aaa',
950: '#000000',
},
}SCSS
$custom: #852aaa; $custom-light: #ad6dc4; $custom-dark: #000000;
JSON
{
"hex": "#852aaa",
"rgb": {
"r": 133,
"g": 42,
"b": 170
},
"hsl": {
"h": 282.656,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.48256,
"c": 0.19826,
"h": 314
},
"luminance": 0.09545
}Semantic roles & 50–950 ramp
primary
#852AAA
secondary
#86C36C
accent
#E44472
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82