#852DA2#852DA2

#852DA2 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.0% C 0.187 H 316.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#852DA2
RGBrgb(133, 45, 162)
HSLhsl(285, 57%, 41%)
HSVhsv(285, 72%, 64%)
CMYKcmyk(17.9%, 72.2%, 0%, 36.5%)
CIE-LABlab(36.88, 54.51, -45.97)
CIE-LCHlch(36.88, 71.31, 319.86°)
OKLaboklab(47.99% 0.1357 -0.1293)
OKLCHoklch(47.99% 0.187 316.4)
XYZxyz(17.1318, 9.4726, 35.1014)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852DA2 #4AA22D
analogous
#4A2DA2 #852DA2 #A22D84
triadic
#852DA2 #A2852D #2DA285
tetradic
#852DA2 #A24A2D #4AA22D #2D84A2
square
#852DA2 #A24A2D #4AA22D #2D84A2
split-complementary
#852DA2 #84A22D #2DA24A
monochromatic
#361242 #5E2072 #852DA2 #A942CA #BE72D8

Accessibility & contrast

On white

7.26
#852DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#852DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852DA2
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852DA2#FFFFFF#000000##FFFFFF
##852DA21.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#2D599F
Tritanopia (blue-blind)
#834565
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #852da2;
/* rgb */ color: rgb(133, 45, 162);
/* oklch */ color: oklch(48.0% 0.187 316.4);
Tailwind
colors: {
  custom: {
    50: '#ac6ebe',
    500: '#852da2',
    950: '#000000',
  },
}
SCSS
$custom: #852da2;
$custom-light: #ac6ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#852da2",
  "rgb": {
    "r": 133,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 285.128,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47987,
    "c": 0.1874,
    "h": 316.4
  },
  "luminance": 0.09472
}

Semantic roles & 50–950 ramp

primary
#852DA2
secondary
#80BF6C
accent
#E0486E
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #852DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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