#852FC1#852FC1
#852FC1 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.4% C 0.215 H 306.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #852FC1 |
|---|---|
| RGB | rgb(133, 47, 193) |
| HSL | hsl(275, 61%, 47%) |
| HSV | hsv(275, 76%, 76%) |
| CMYK | cmyk(31.1%, 75.6%, 0%, 24.3%) |
| CIE-LAB | lab(39.36, 60.31, -60.35) |
| CIE-LCH | lch(39.36, 85.32, 314.98°) |
| OKLab | oklab(50.44% 0.1289 -0.1716) |
| OKLCH | oklch(50.44% 0.215 306.9) |
| XYZ | xyz(20.3129, 10.8701, 51.4698) |
| Luminance | 0.1087 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 3.81
Darkorchid
#9932CC
ΔE00 4.00
Blueviolet
#8A2BE2
ΔE00 4.46
Violet (survey)
#9A0EEA
ΔE00 5.80
Purply
#983FB2
ΔE00 6.18
Purple (survey)
#7E1E9C
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#852FC1 #6BC12F
analogous
#3C2FC1 #852FC1 #C12FB4
triadic
#852FC1 #C1852F #2FC185
tetradic
#852FC1 #C13C2F #6BC12F #2FB4C1
square
#852FC1 #C13C2F #6BC12F #2FB4C1
split-complementary
#852FC1 #B4C12F #2FC13C
monochromatic
#41175F #632390 #852FC1 #A257D6 #BD88E2
Accessibility & contrast
On white
6.62
#852FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#852FC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #852FC1
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##852FC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##852FC1 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC5
Deuteranopia (green-blind)
#005DBE
Tritanopia (blue-blind)
#7B5377
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #852fc1; /* rgb */ color: rgb(133, 47, 193); /* oklch */ color: oklch(50.4% 0.215 306.9);
Tailwind
colors: {
custom: {
50: '#ae71d5',
500: '#852fc1',
950: '#000000',
},
}SCSS
$custom: #852fc1; $custom-light: #ae71d5; $custom-dark: #000000;
JSON
{
"hex": "#852fc1",
"rgb": {
"r": 133,
"g": 47,
"b": 193
},
"hsl": {
"h": 275.342,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.50441,
"c": 0.21458,
"h": 306.9
},
"luminance": 0.1087
}Semantic roles & 50–950 ramp
primary
#852FC1
secondary
#9FCC80
accent
#E44486
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83