#852FC4#852FC4
#852FC4 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.7% C 0.217 H 306.1°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #852FC4 |
|---|---|
| RGB | rgb(133, 47, 196) |
| HSL | hsl(275, 61%, 48%) |
| HSV | hsv(275, 76%, 77%) |
| CMYK | cmyk(32.1%, 76%, 0%, 23.1%) |
| CIE-LAB | lab(39.59, 60.98, -61.73) |
| CIE-LCH | lch(39.59, 86.77, 314.65°) |
| OKLab | oklab(50.67% 0.1282 -0.1756) |
| OKLCH | oklch(50.67% 0.217 306.1) |
| XYZ | xyz(20.6510, 11.0053, 53.2502) |
| Luminance | 0.1100 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 3.65
Darkorchid
#9932CC
ΔE00 3.90
Blueviolet
#8A2BE2
ΔE00 4.03
Violet (survey)
#9A0EEA
ΔE00 5.46
Burple
#6832E3
ΔE00 6.37
Purply
#983FB2
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#852FC4 #6EC42F
analogous
#3B2FC4 #852FC4 #C42FB8
triadic
#852FC4 #C4852F #2FC485
tetradic
#852FC4 #C43B2F #6EC42F #2FB8C4
square
#852FC4 #C43B2F #6EC42F #2FB8C4
split-complementary
#852FC4 #B8C42F #2FC43B
monochromatic
#421761 #642393 #852FC4 #A259D7 #BE8AE3
Accessibility & contrast
On white
6.56
#852FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#852FC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #852FC4
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##852FC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##852FC4 | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC8
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#7A5478
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #852fc4; /* rgb */ color: rgb(133, 47, 196); /* oklch */ color: oklch(50.7% 0.217 306.1);
Tailwind
colors: {
custom: {
50: '#ae71d7',
500: '#852fc4',
950: '#000000',
},
}SCSS
$custom: #852fc4; $custom-light: #ae71d7; $custom-dark: #000000;
JSON
{
"hex": "#852fc4",
"rgb": {
"r": 133,
"g": 47,
"b": 196
},
"hsl": {
"h": 274.631,
"s": 61.317,
"l": 47.647
},
"oklch": {
"l": 0.50673,
"c": 0.21746,
"h": 306.1
},
"luminance": 0.11005
}Semantic roles & 50–950 ramp
primary
#852FC4
secondary
#A2CD82
accent
#E44387
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83