#852EAA#852EAA
#852EAA is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.194 H 313.7°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #852EAA |
|---|---|
| RGB | rgb(133, 46, 170) |
| HSL | hsl(282, 57%, 42%) |
| HSV | hsv(282, 73%, 67%) |
| CMYK | cmyk(21.8%, 72.9%, 0%, 33.3%) |
| CIE-LAB | lab(37.56, 55.76, -49.67) |
| CIE-LCH | lch(37.56, 74.67, 318.31°) |
| OKLab | oklab(48.64% 0.1337 -0.1402) |
| OKLCH | oklch(48.64% 0.194 313.7) |
| XYZ | xyz(17.9043, 9.8434, 38.9792) |
| Luminance | 0.0984 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.56
Purply
#983FB2
ΔE00 5.46
Rebeccapurple
#663399
ΔE00 5.92
Darkorchid
#9932CC
ΔE00 6.01
Darkviolet
#9400D3
ΔE00 6.14
Barney
#AC1DB8
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#852EAA #53AA2E
analogous
#472EAA #852EAA #AA2E91
triadic
#852EAA #AA852E #2EAA85
tetradic
#852EAA #AA472E #53AA2E #2E91AA
square
#852EAA #AA472E #53AA2E #2E91AA
split-complementary
#852EAA #91AA2E #2EAA47
monochromatic
#3A144A #5F217A #852EAA #A648CD #BD78DA
Accessibility & contrast
On white
7.07
#852EAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#852EAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #852EAA
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##852EAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##852EAA | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#245AA7
Tritanopia (blue-blind)
#814969
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #852eaa; /* rgb */ color: rgb(133, 46, 170); /* oklch */ color: oklch(48.6% 0.194 313.7);
Tailwind
colors: {
custom: {
50: '#ad6fc4',
500: '#852eaa',
950: '#000000',
},
}SCSS
$custom: #852eaa; $custom-light: #ad6fc4; $custom-dark: #000000;
JSON
{
"hex": "#852eaa",
"rgb": {
"r": 133,
"g": 46,
"b": 170
},
"hsl": {
"h": 282.097,
"s": 57.407,
"l": 42.353
},
"oklch": {
"l": 0.48643,
"c": 0.19373,
"h": 313.7
},
"luminance": 0.09843
}Semantic roles & 50–950 ramp
primary
#852EAA
secondary
#8AC371
accent
#E14775
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82