#852CAC#852CAC
#852CAC is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.198 H 313.2°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #852CAC |
|---|---|
| RGB | rgb(133, 44, 172) |
| HSL | hsl(282, 59%, 42%) |
| HSV | hsv(282, 74%, 67%) |
| CMYK | cmyk(22.7%, 74.4%, 0%, 32.5%) |
| CIE-LAB | lab(37.42, 56.97, -51.08) |
| CIE-LCH | lch(37.42, 76.52, 318.12°) |
| OKLab | oklab(48.59% 0.1354 -0.1443) |
| OKLCH | oklch(48.59% 0.198 313.2) |
| XYZ | xyz(18.0186, 9.7670, 39.9578) |
| Luminance | 0.0977 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.52
Purply
#983FB2
ΔE00 5.70
Darkviolet
#9400D3
ΔE00 5.76
Darkorchid
#9932CC
ΔE00 5.90
Rebeccapurple
#663399
ΔE00 5.96
Barney
#AC1DB8
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#852CAC #53AC2C
analogous
#452CAC #852CAC #AC2C93
triadic
#852CAC #AC852C #2CAC85
tetradic
#852CAC #AC452C #53AC2C #2C93AC
square
#852CAC #AC452C #53AC2C #2C93AC
split-complementary
#852CAC #93AC2C #2CAC45
monochromatic
#3A134B #5F207B #852CAC #A646D0 #BD76DC
Accessibility & contrast
On white
7.11
#852CAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#852CAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #852CAC
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##852CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##852CAC | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B0
Deuteranopia (green-blind)
#1F5AA9
Tritanopia (blue-blind)
#81496A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #852cac; /* rgb */ color: rgb(133, 44, 172); /* oklch */ color: oklch(48.6% 0.198 313.2);
Tailwind
colors: {
custom: {
50: '#ad6ec5',
500: '#852cac',
950: '#000000',
},
}SCSS
$custom: #852cac; $custom-light: #ad6ec5; $custom-dark: #000000;
JSON
{
"hex": "#852cac",
"rgb": {
"r": 133,
"g": 44,
"b": 172
},
"hsl": {
"h": 281.719,
"s": 59.259,
"l": 42.353
},
"oklch": {
"l": 0.48589,
"c": 0.19791,
"h": 313.2
},
"luminance": 0.09766
}Semantic roles & 50–950 ramp
primary
#852CAC
secondary
#8AC470
accent
#E24575
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82