#852FAE#852FAE
#852FAE is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.0% C 0.196 H 312.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #852FAE |
|---|---|
| RGB | rgb(133, 47, 174) |
| HSL | hsl(281, 57%, 43%) |
| HSV | hsv(281, 73%, 68%) |
| CMYK | cmyk(23.6%, 73%, 0%, 31.8%) |
| CIE-LAB | lab(37.98, 56.20, -51.38) |
| CIE-LCH | lch(37.98, 76.14, 317.57°) |
| OKLab | oklab(49.03% 0.1322 -0.1452) |
| OKLCH | oklch(49.03% 0.196 312.3) |
| XYZ | xyz(18.3280, 10.0761, 41.0156) |
| Luminance | 0.1008 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.08
Purply
#983FB2
ΔE00 5.35
Darkorchid
#9932CC
ΔE00 5.49
Darkviolet
#9400D3
ΔE00 5.66
Rebeccapurple
#663399
ΔE00 6.04
Barney
#AC1DB8
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#852FAE #58AE2F
analogous
#452FAE #852FAE #AE2F97
triadic
#852FAE #AE852F #2FAE85
tetradic
#852FAE #AE452F #58AE2F #2F97AE
square
#852FAE #AE452F #58AE2F #2F97AE
split-complementary
#852FAE #97AE2F #2FAE45
monochromatic
#3B154E #60227E #852FAE #A44CCF #BD7CDC
Accessibility & contrast
On white
6.96
#852FAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#852FAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #852FAE
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##852FAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##852FAE | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#205BAB
Tritanopia (blue-blind)
#804B6C
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #852fae; /* rgb */ color: rgb(133, 47, 174); /* oklch */ color: oklch(49.0% 0.196 312.3);
Tailwind
colors: {
custom: {
50: '#ad70c7',
500: '#852fae',
950: '#000000',
},
}SCSS
$custom: #852fae; $custom-light: #ad70c7; $custom-dark: #000000;
JSON
{
"hex": "#852fae",
"rgb": {
"r": 133,
"g": 47,
"b": 174
},
"hsl": {
"h": 280.63,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.49029,
"c": 0.19636,
"h": 312.3
},
"luminance": 0.10076
}Semantic roles & 50–950 ramp
primary
#852FAE
secondary
#8EC475
accent
#E14779
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82