#852F97#852F97
#852F97 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.5% C 0.175 H 320.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #852F97 |
|---|---|
| RGB | rgb(133, 47, 151) |
| HSL | hsl(290, 53%, 39%) |
| HSV | hsv(290, 69%, 59%) |
| CMYK | cmyk(11.9%, 68.9%, 0%, 40.8%) |
| CIE-LAB | lab(36.47, 51.48, -39.97) |
| CIE-LCH | lch(36.47, 65.18, 322.18°) |
| OKLab | oklab(47.47% 0.1342 -0.1118) |
| OKLCH | oklch(47.47% 0.175 320.2) |
| XYZ | xyz(16.2746, 9.2547, 30.2013) |
| Luminance | 0.0925 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.59
Warm Purple
#952E8F
ΔE00 4.30
Darkmagenta
#8B008B
ΔE00 5.00
Barney Purple
#A00498
ΔE00 5.42
Purply
#983FB2
ΔE00 6.34
Purple
#800080
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#852F97 #41972F
analogous
#512F97 #852F97 #972F75
triadic
#852F97 #97852F #2F9785
tetradic
#852F97 #97512F #41972F #2F7597
square
#852F97 #97512F #41972F #2F7597
split-complementary
#852F97 #75972F #2F9751
monochromatic
#33123A #5C2068 #852F97 #AD40C3 #C16ED2
Accessibility & contrast
On white
7.37
#852F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#852F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #852F97
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##852F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##852F97 | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#07509A
Deuteranopia (green-blind)
#385994
Tritanopia (blue-blind)
#86425F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #852f97; /* rgb */ color: rgb(133, 47, 151); /* oklch */ color: oklch(47.5% 0.175 320.2);
Tailwind
colors: {
custom: {
50: '#ac6fb6',
500: '#852f97',
950: '#000000',
},
}SCSS
$custom: #852f97; $custom-light: #ac6fb6; $custom-dark: #000000;
JSON
{
"hex": "#852f97",
"rgb": {
"r": 133,
"g": 47,
"b": 151
},
"hsl": {
"h": 289.615,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.4747,
"c": 0.17465,
"h": 320.2
},
"luminance": 0.09254
}Semantic roles & 50–950 ramp
primary
#852F97
secondary
#76B968
accent
#DC4C65
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#100811
muted
#7F7B80