#852BAB#852BAB
#852BAB is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.198 H 313.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #852BAB |
|---|---|
| RGB | rgb(133, 43, 171) |
| HSL | hsl(282, 60%, 42%) |
| HSV | hsv(282, 75%, 67%) |
| CMYK | cmyk(22.2%, 74.9%, 0%, 32.9%) |
| CIE-LAB | lab(37.22, 57.14, -50.82) |
| CIE-LCH | lch(37.22, 76.47, 318.35°) |
| OKLab | oklab(48.42% 0.1365 -0.1435) |
| OKLCH | oklch(48.42% 0.198 313.6) |
| XYZ | xyz(17.8861, 9.6551, 39.4416) |
| Luminance | 0.0965 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.31
Purply
#983FB2
ΔE00 5.82
Darkviolet
#9400D3
ΔE00 5.86
Rebeccapurple
#663399
ΔE00 5.94
Darkorchid
#9932CC
ΔE00 6.08
Barney
#AC1DB8
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#852BAB #51AB2B
analogous
#452BAB #852BAB #AB2B91
triadic
#852BAB #AB852B #2BAB85
tetradic
#852BAB #AB452B #51AB2B #2B91AB
square
#852BAB #AB452B #51AB2B #2B91AB
split-complementary
#852BAB #91AB2B #2BAB45
monochromatic
#391249 #5F1F7A #852BAB #A643D0 #BD74DC
Accessibility & contrast
On white
7.16
#852BAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#852BAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #852BAB
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##852BAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##852BAB | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#205AA8
Tritanopia (blue-blind)
#814869
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #852bab; /* rgb */ color: rgb(133, 43, 171); /* oklch */ color: oklch(48.4% 0.198 313.6);
Tailwind
colors: {
custom: {
50: '#ad6ec5',
500: '#852bab',
950: '#000000',
},
}SCSS
$custom: #852bab; $custom-light: #ad6ec5; $custom-dark: #000000;
JSON
{
"hex": "#852bab",
"rgb": {
"r": 133,
"g": 43,
"b": 171
},
"hsl": {
"h": 282.188,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.48422,
"c": 0.19809,
"h": 313.6
},
"luminance": 0.09655
}Semantic roles & 50–950 ramp
primary
#852BAB
secondary
#88C46E
accent
#E34574
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82