#852FB6#852FB6
#852FB6 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.204 H 309.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #852FB6 |
|---|---|
| RGB | rgb(133, 47, 182) |
| HSL | hsl(278, 59%, 45%) |
| HSV | hsv(278, 74%, 71%) |
| CMYK | cmyk(26.9%, 74.2%, 0%, 28.6%) |
| CIE-LAB | lab(38.55, 57.91, -55.20) |
| CIE-LCH | lch(38.55, 80.01, 316.37°) |
| OKLab | oklab(49.61% 0.131 -0.1564) |
| OKLCH | oklch(49.61% 0.204 309.9) |
| XYZ | xyz(19.1312, 10.3974, 45.2460) |
| Luminance | 0.1040 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.70
Darkviolet
#9400D3
ΔE00 4.73
Purple (survey)
#7E1E9C
ΔE00 5.03
Purply
#983FB2
ΔE00 5.56
Blueviolet
#8A2BE2
ΔE00 6.10
Rebeccapurple
#663399
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#852FB6 #60B62F
analogous
#412FB6 #852FB6 #B62FA4
triadic
#852FB6 #B6852F #2FB685
tetradic
#852FB6 #B6412F #60B62F #2FA4B6
square
#852FB6 #B6412F #60B62F #2FA4B6
split-complementary
#852FB6 #A4B62F #2FB641
monochromatic
#3E1655 #612285 #852FB6 #A350D2 #BD81DE
Accessibility & contrast
On white
6.82
#852FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#852FB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #852FB6
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##852FB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##852FB6 | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057BA
Deuteranopia (green-blind)
#0D5CB3
Tritanopia (blue-blind)
#7E4E70
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #852fb6; /* rgb */ color: rgb(133, 47, 182); /* oklch */ color: oklch(49.6% 0.204 309.9);
Tailwind
colors: {
custom: {
50: '#ad70cd',
500: '#852fb6',
950: '#000000',
},
}SCSS
$custom: #852fb6; $custom-light: #ad70cd; $custom-dark: #000000;
JSON
{
"hex": "#852fb6",
"rgb": {
"r": 133,
"g": 47,
"b": 182
},
"hsl": {
"h": 278.222,
"s": 58.952,
"l": 44.902
},
"oklch": {
"l": 0.4961,
"c": 0.20402,
"h": 309.9
},
"luminance": 0.10397
}Semantic roles & 50–950 ramp
primary
#852FB6
secondary
#96C779
accent
#E2467E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82