#852DB6#852DB6

#852DB6 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.4% C 0.206 H 310.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#852DB6
RGBrgb(133, 45, 182)
HSLhsl(279, 60%, 45%)
HSVhsv(279, 75%, 71%)
CMYKcmyk(26.9%, 75.3%, 0%, 28.6%)
CIE-LABlab(38.27, 58.70, -55.65)
CIE-LCHlch(38.27, 80.88, 316.53°)
OKLaboklab(49.42% 0.1328 -0.1577)
OKLCHoklch(49.42% 0.206 310.1)
XYZxyz(19.0531, 10.2411, 45.2199)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852DB6 #5EB62D
analogous
#412DB6 #852DB6 #B62DA3
triadic
#852DB6 #B6852D #2DB685
tetradic
#852DB6 #B6412D #5EB62D #2DA3B6
square
#852DB6 #B6412D #5EB62D #2DA3B6
split-complementary
#852DB6 #A3B62D #2DB641
monochromatic
#3D1554 #612185 #852DB6 #A34DD3 #BC7EDF

Accessibility & contrast

On white

6.89
#852DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#852DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852DB6
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852DB6#FFFFFF#000000##FFFFFF
##852DB61.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#075BB3
Tritanopia (blue-blind)
#7E4D70
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #852db6;
/* rgb */ color: rgb(133, 45, 182);
/* oklch */ color: oklch(49.4% 0.206 310.1);
Tailwind
colors: {
  custom: {
    50: '#ad6fcd',
    500: '#852db6',
    950: '#000000',
  },
}
SCSS
$custom: #852db6;
$custom-light: #ad6fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#852db6",
  "rgb": {
    "r": 133,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 278.54,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49416,
    "c": 0.20621,
    "h": 310.1
  },
  "luminance": 0.10241
}

Semantic roles & 50–950 ramp

primary
#852DB6
secondary
#94C877
accent
#E3447D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #852DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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