#852FC3#852FC3
#852FC3 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.6% C 0.216 H 306.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #852FC3 |
|---|---|
| RGB | rgb(133, 47, 195) |
| HSL | hsl(275, 61%, 47%) |
| HSV | hsv(275, 76%, 76%) |
| CMYK | cmyk(31.8%, 75.9%, 0%, 23.5%) |
| CIE-LAB | lab(39.51, 60.76, -61.27) |
| CIE-LCH | lch(39.51, 86.29, 314.76°) |
| OKLab | oklab(50.6% 0.1285 -0.1743) |
| OKLCH | oklch(50.6% 0.217 306.4) |
| XYZ | xyz(20.5376, 10.9599, 52.6527) |
| Luminance | 0.1096 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 3.70
Darkorchid
#9932CC
ΔE00 3.93
Blueviolet
#8A2BE2
ΔE00 4.18
Violet (survey)
#9A0EEA
ΔE00 5.57
Purply
#983FB2
ΔE00 6.32
Burple
#6832E3
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#852FC3 #6DC32F
analogous
#3B2FC3 #852FC3 #C32FB7
triadic
#852FC3 #C3852F #2FC385
tetradic
#852FC3 #C33B2F #6DC32F #2FB7C3
square
#852FC3 #C33B2F #6DC32F #2FB7C3
split-complementary
#852FC3 #B7C32F #2FC33B
monochromatic
#421760 #632392 #852FC3 #A258D7 #BD8AE3
Accessibility & contrast
On white
6.58
#852FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#852FC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #852FC3
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##852FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##852FC3 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#7A5478
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #852fc3; /* rgb */ color: rgb(133, 47, 195); /* oklch */ color: oklch(50.6% 0.216 306.4);
Tailwind
colors: {
custom: {
50: '#ae71d6',
500: '#852fc3',
950: '#000000',
},
}SCSS
$custom: #852fc3; $custom-light: #ae71d6; $custom-dark: #000000;
JSON
{
"hex": "#852fc3",
"rgb": {
"r": 133,
"g": 47,
"b": 195
},
"hsl": {
"h": 274.865,
"s": 61.157,
"l": 47.451
},
"oklch": {
"l": 0.50596,
"c": 0.2165,
"h": 306.4
},
"luminance": 0.1096
}Semantic roles & 50–950 ramp
primary
#852FC3
secondary
#A1CD81
accent
#E44487
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83