#852FCC#852FCC
#852FCC is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.3% C 0.225 H 304.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #852FCC |
|---|---|
| RGB | rgb(133, 47, 204) |
| HSL | hsl(273, 63%, 49%) |
| HSV | hsv(273, 77%, 80%) |
| CMYK | cmyk(34.8%, 77%, 0%, 20%) |
| CIE-LAB | lab(40.21, 62.76, -65.37) |
| CIE-LCH | lch(40.21, 90.62, 313.83°) |
| OKLab | oklab(51.3% 0.1264 -0.1863) |
| OKLCH | oklch(51.3% 0.225 304.2) |
| XYZ | xyz(21.5859, 11.3793, 58.1743) |
| Luminance | 0.1138 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 2.92
Darkviolet
#9400D3
ΔE00 3.49
Darkorchid
#9932CC
ΔE00 3.85
Violet (survey)
#9A0EEA
ΔE00 4.65
Bluish Purple
#703BE7
ΔE00 5.49
Burple
#6832E3
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#852FCC #76CC2F
analogous
#362FCC #852FCC #CC2FC5
triadic
#852FCC #CC852F #2FCC85
tetradic
#852FCC #CC362F #76CC2F #2FC5CC
square
#852FCC #CC362F #76CC2F #2FC5CC
split-complementary
#852FCC #C5CC2F #2FCC36
monochromatic
#441869 #65249A #852FCC #A25EDA #BF90E5
Accessibility & contrast
On white
6.41
#852FCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#852FCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #852FCC
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##852FCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##852FCC | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#77587D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #852fcc; /* rgb */ color: rgb(133, 47, 204); /* oklch */ color: oklch(51.3% 0.225 304.2);
Tailwind
colors: {
custom: {
50: '#af71dd',
500: '#852fcc',
950: '#000000',
},
}SCSS
$custom: #852fcc; $custom-light: #af71dd; $custom-dark: #000000;
JSON
{
"hex": "#852fcc",
"rgb": {
"r": 133,
"g": 47,
"b": 204
},
"hsl": {
"h": 272.866,
"s": 62.55,
"l": 49.216
},
"oklch": {
"l": 0.51304,
"c": 0.22515,
"h": 304.2
},
"luminance": 0.11379
}Semantic roles & 50–950 ramp
primary
#852FCC
secondary
#A8D087
accent
#E6428C
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83