#852FB0#852FB0
#852FB0 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.198 H 311.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #852FB0 |
|---|---|
| RGB | rgb(133, 47, 176) |
| HSL | hsl(280, 58%, 44%) |
| HSV | hsv(280, 73%, 69%) |
| CMYK | cmyk(24.4%, 73.3%, 0%, 31%) |
| CIE-LAB | lab(38.12, 56.62, -52.34) |
| CIE-LCH | lch(38.12, 77.11, 317.25°) |
| OKLab | oklab(49.17% 0.1319 -0.148) |
| OKLCH | oklch(49.17% 0.198 311.7) |
| XYZ | xyz(18.5244, 10.1547, 42.0501) |
| Luminance | 0.1015 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.31
Darkorchid
#9932CC
ΔE00 5.27
Purply
#983FB2
ΔE00 5.38
Darkviolet
#9400D3
ΔE00 5.41
Rebeccapurple
#663399
ΔE00 6.13
Barney
#AC1DB8
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#852FB0 #5AB02F
analogous
#442FB0 #852FB0 #B02F9A
triadic
#852FB0 #B0852F #2FB085
tetradic
#852FB0 #B0442F #5AB02F #2F9AB0
square
#852FB0 #B0442F #5AB02F #2F9AB0
split-complementary
#852FB0 #9AB02F #2FB044
monochromatic
#3C154F #602280 #852FB0 #A44DCF #BD7DDC
Accessibility & contrast
On white
6.93
#852FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#852FB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #852FB0
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##852FB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##852FB0 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#1C5BAD
Tritanopia (blue-blind)
#804C6D
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #852fb0; /* rgb */ color: rgb(133, 47, 176); /* oklch */ color: oklch(49.2% 0.198 311.7);
Tailwind
colors: {
custom: {
50: '#ad70c8',
500: '#852fb0',
950: '#000000',
},
}SCSS
$custom: #852fb0; $custom-light: #ad70c8; $custom-dark: #000000;
JSON
{
"hex": "#852fb0",
"rgb": {
"r": 133,
"g": 47,
"b": 176
},
"hsl": {
"h": 280,
"s": 57.848,
"l": 43.725
},
"oklch": {
"l": 0.49172,
"c": 0.19827,
"h": 311.7
},
"luminance": 0.10154
}Semantic roles & 50–950 ramp
primary
#852FB0
secondary
#90C576
accent
#E1477A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82