#852DB2#852DB2

#852DB2 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.1% C 0.202 H 311.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#852DB2
RGBrgb(133, 45, 178)
HSLhsl(280, 60%, 44%)
HSVhsv(280, 75%, 70%)
CMYKcmyk(25.3%, 74.7%, 0%, 30.2%)
CIE-LABlab(37.98, 57.84, -53.75)
CIE-LCHlch(37.98, 78.96, 317.10°)
OKLaboklab(49.12% 0.1335 -0.1521)
OKLCHoklch(49.12% 0.202 311.3)
XYZxyz(18.6456, 10.0781, 43.0739)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852DB2 #5AB22D
analogous
#422DB2 #852DB2 #B22D9C
triadic
#852DB2 #B2852D #2DB285
tetradic
#852DB2 #B2422D #5AB22D #2D9CB2
square
#852DB2 #B2422D #5AB22D #2D9CB2
split-complementary
#852DB2 #9CB22D #2DB242
monochromatic
#3C1450 #602181 #852DB2 #A44BD1 #BD7CDE

Accessibility & contrast

On white

6.96
#852DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#852DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852DB2
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852DB2#FFFFFF#000000##FFFFFF
##852DB21.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#155BAF
Tritanopia (blue-blind)
#7F4C6E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #852db2;
/* rgb */ color: rgb(133, 45, 178);
/* oklch */ color: oklch(49.1% 0.202 311.3);
Tailwind
colors: {
  custom: {
    50: '#ad6fca',
    500: '#852db2',
    950: '#000000',
  },
}
SCSS
$custom: #852db2;
$custom-light: #ad6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#852db2",
  "rgb": {
    "r": 133,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 279.699,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49121,
    "c": 0.20243,
    "h": 311.3
  },
  "luminance": 0.10078
}

Semantic roles & 50–950 ramp

primary
#852DB2
secondary
#90C675
accent
#E3457A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #852DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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