#852EB6#852EB6

#852EB6 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.5% C 0.205 H 310.0°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#852EB6
RGBrgb(133, 46, 182)
HSLhsl(278, 60%, 45%)
HSVhsv(278, 75%, 71%)
CMYKcmyk(26.9%, 74.7%, 0%, 28.6%)
CIE-LABlab(38.41, 58.31, -55.43)
CIE-LCHlch(38.41, 80.45, 316.45°)
OKLaboklab(49.51% 0.1319 -0.1571)
OKLCHoklch(49.51% 0.205 310)
XYZxyz(19.0917, 10.3183, 45.2328)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852EB6 #5FB62E
analogous
#412EB6 #852EB6 #B62EA3
triadic
#852EB6 #B6852E #2EB685
tetradic
#852EB6 #B6412E #5FB62E #2EA3B6
square
#852EB6 #B6412E #5FB62E #2EA3B6
split-complementary
#852EB6 #A3B62E #2EB641
monochromatic
#3E1554 #612285 #852EB6 #A34FD2 #BC80DF

Accessibility & contrast

On white

6.85
#852EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#852EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852EB6
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852EB6#FFFFFF#000000##FFFFFF
##852EB61.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BA
Deuteranopia (green-blind)
#0A5CB3
Tritanopia (blue-blind)
#7E4E70
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #852eb6;
/* rgb */ color: rgb(133, 46, 182);
/* oklch */ color: oklch(49.5% 0.205 310.0);
Tailwind
colors: {
  custom: {
    50: '#ad70cd',
    500: '#852eb6',
    950: '#000000',
  },
}
SCSS
$custom: #852eb6;
$custom-light: #ad70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#852eb6",
  "rgb": {
    "r": 133,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 278.382,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49512,
    "c": 0.20512,
    "h": 310
  },
  "luminance": 0.10318
}

Semantic roles & 50–950 ramp

primary
#852EB6
secondary
#95C878
accent
#E3457E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #852EB6

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#852EB6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva