#852F93#852F93
#852F93 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.2% C 0.171 H 321.8°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #852F93 |
|---|---|
| RGB | rgb(133, 47, 147) |
| HSL | hsl(292, 52%, 38%) |
| HSV | hsv(292, 68%, 58%) |
| CMYK | cmyk(9.5%, 68%, 0%, 42.4%) |
| CIE-LAB | lab(36.23, 50.70, -37.92) |
| CIE-LCH | lch(36.23, 63.31, 323.21°) |
| OKLab | oklab(47.22% 0.1343 -0.1058) |
| OKLCH | oklch(47.22% 0.171 321.8) |
| XYZ | xyz(15.9553, 9.1270, 28.5194) |
| Luminance | 0.0913 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.82
Purple (survey)
#7E1E9C
ΔE00 4.02
Darkmagenta
#8B008B
ΔE00 4.72
Barney Purple
#A00498
ΔE00 5.27
Purple
#800080
ΔE00 6.01
Purply
#983FB2
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#852F93 #3D932F
analogous
#532F93 #852F93 #932F6F
triadic
#852F93 #93852F #2F9385
tetradic
#852F93 #93532F #3D932F #2F6F93
square
#852F93 #93532F #3D932F #2F6F93
split-complementary
#852F93 #6F932F #2F9353
monochromatic
#311136 #5B2065 #852F93 #AF3EC1 #C26CD0
Accessibility & contrast
On white
7.43
#852F93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#852F93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #852F93
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##852F93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##852F93 | 1.00 | 7.43 | 2.83 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#124F96
Deuteranopia (green-blind)
#3B5891
Tritanopia (blue-blind)
#86405D
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #852f93; /* rgb */ color: rgb(133, 47, 147); /* oklch */ color: oklch(47.2% 0.171 321.8);
Tailwind
colors: {
custom: {
50: '#ac6fb3',
500: '#852f93',
950: '#000000',
},
}SCSS
$custom: #852f93; $custom-light: #ac6fb3; $custom-dark: #000000;
JSON
{
"hex": "#852f93",
"rgb": {
"r": 133,
"g": 47,
"b": 147
},
"hsl": {
"h": 291.6,
"s": 51.546,
"l": 38.039
},
"oklch": {
"l": 0.47218,
"c": 0.17094,
"h": 321.8
},
"luminance": 0.09126
}Semantic roles & 50–950 ramp
primary
#852F93
secondary
#72B766
accent
#DB4D61
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80