#852BAC#852BAC
#852BAC is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.199 H 313.3°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #852BAC |
|---|---|
| RGB | rgb(133, 43, 172) |
| HSL | hsl(282, 60%, 42%) |
| HSV | hsv(282, 75%, 67%) |
| CMYK | cmyk(22.7%, 75%, 0%, 32.5%) |
| CIE-LAB | lab(37.29, 57.35, -51.30) |
| CIE-LCH | lch(37.29, 76.95, 318.19°) |
| OKLab | oklab(48.49% 0.1364 -0.1449) |
| OKLCH | oklch(48.49% 0.199 313.3) |
| XYZ | xyz(17.9818, 9.6934, 39.9455) |
| Luminance | 0.0969 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.42
Darkviolet
#9400D3
ΔE00 5.72
Purply
#983FB2
ΔE00 5.82
Rebeccapurple
#663399
ΔE00 5.97
Darkorchid
#9932CC
ΔE00 5.97
Barney
#AC1DB8
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#852BAC #52AC2B
analogous
#442BAC #852BAC #AC2B93
triadic
#852BAC #AC852B #2BAC85
tetradic
#852BAC #AC442B #52AC2B #2B93AC
square
#852BAC #AC442B #52AC2B #2B93AC
split-complementary
#852BAC #93AC2B #2BAC44
monochromatic
#39134A #5F1F7B #852BAC #A644D0 #BD75DC
Accessibility & contrast
On white
7.15
#852BAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#852BAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #852BAC
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##852BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##852BAC | 1.00 | 7.15 | 2.94 | 7.15 |
| #FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B0
Deuteranopia (green-blind)
#1E5AA9
Tritanopia (blue-blind)
#81486A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #852bac; /* rgb */ color: rgb(133, 43, 172); /* oklch */ color: oklch(48.5% 0.199 313.3);
Tailwind
colors: {
custom: {
50: '#ad6ec5',
500: '#852bac',
950: '#000000',
},
}SCSS
$custom: #852bac; $custom-light: #ad6ec5; $custom-dark: #000000;
JSON
{
"hex": "#852bac",
"rgb": {
"r": 133,
"g": 43,
"b": 172
},
"hsl": {
"h": 281.86,
"s": 60,
"l": 42.157
},
"oklch": {
"l": 0.48494,
"c": 0.19902,
"h": 313.3
},
"luminance": 0.09693
}Semantic roles & 50–950 ramp
primary
#852BAC
secondary
#89C46F
accent
#E34575
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82