#852DC3#852DC3
#852DC3 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.4% C 0.219 H 306.6°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #852DC3 |
|---|---|
| RGB | rgb(133, 45, 195) |
| HSL | hsl(275, 63%, 47%) |
| HSV | hsv(275, 77%, 76%) |
| CMYK | cmyk(31.8%, 76.9%, 0%, 23.5%) |
| CIE-LAB | lab(39.25, 61.52, -61.70) |
| CIE-LCH | lch(39.25, 87.13, 314.91°) |
| OKLab | oklab(50.41% 0.1302 -0.1755) |
| OKLCH | oklch(50.41% 0.219 306.6) |
| XYZ | xyz(20.4594, 10.8037, 52.6267) |
| Luminance | 0.1080 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 3.52
Darkorchid
#9932CC
ΔE00 4.08
Blueviolet
#8A2BE2
ΔE00 4.23
Violet (survey)
#9A0EEA
ΔE00 5.56
Purply
#983FB2
ΔE00 6.49
Burple
#6832E3
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#852DC3 #6BC32D
analogous
#3A2DC3 #852DC3 #C32DB6
triadic
#852DC3 #C3852D #2DC385
tetradic
#852DC3 #C33A2D #6BC32D #2DB6C3
square
#852DC3 #C33A2D #6BC32D #2DB6C3
split-complementary
#852DC3 #B6C32D #2DC33A
monochromatic
#411660 #632291 #852DC3 #A255D8 #BD87E3
Accessibility & contrast
On white
6.64
#852DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#852DC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #852DC3
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##852DC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##852DC3 | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#7A5377
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #852dc3; /* rgb */ color: rgb(133, 45, 195); /* oklch */ color: oklch(50.4% 0.219 306.6);
Tailwind
colors: {
custom: {
50: '#ae70d6',
500: '#852dc3',
950: '#000000',
},
}SCSS
$custom: #852dc3; $custom-light: #ae70d6; $custom-dark: #000000;
JSON
{
"hex": "#852dc3",
"rgb": {
"r": 133,
"g": 45,
"b": 195
},
"hsl": {
"h": 275.2,
"s": 62.5,
"l": 47.059
},
"oklch": {
"l": 0.50409,
"c": 0.21852,
"h": 306.6
},
"luminance": 0.10803
}Semantic roles & 50–950 ramp
primary
#852DC3
secondary
#9FCD7F
accent
#E64286
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83