#852DA1#852DA1

#852DA1 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.9% C 0.186 H 316.7°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#852DA1
RGBrgb(133, 45, 161)
HSLhsl(286, 56%, 40%)
HSVhsv(286, 72%, 63%)
CMYKcmyk(17.4%, 72%, 0%, 36.9%)
CIE-LABlab(36.81, 54.31, -45.47)
CIE-LCHlch(36.81, 70.83, 320.06°)
OKLaboklab(47.92% 0.1358 -0.1278)
OKLCHoklch(47.92% 0.186 316.7)
XYZxyz(17.0433, 9.4372, 34.6351)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852DA1 #49A12D
analogous
#4B2DA1 #852DA1 #A12D83
triadic
#852DA1 #A1852D #2DA185
tetradic
#852DA1 #A14B2D #49A12D #2D83A1
square
#852DA1 #A14B2D #49A12D #2D83A1
split-complementary
#852DA1 #83A12D #2DA14B
monochromatic
#361241 #5D2071 #852DA1 #A941CA #BF71D7

Accessibility & contrast

On white

7.27
#852DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #852DA1
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852DA1#FFFFFF#000000##FFFFFF
##852DA11.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A4
Deuteranopia (green-blind)
#2E599E
Tritanopia (blue-blind)
#834464
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #852da1;
/* rgb */ color: rgb(133, 45, 161);
/* oklch */ color: oklch(47.9% 0.186 316.7);
Tailwind
colors: {
  custom: {
    50: '#ac6ebd',
    500: '#852da1',
    950: '#000000',
  },
}
SCSS
$custom: #852da1;
$custom-light: #ac6ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#852da1",
  "rgb": {
    "r": 133,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 285.517,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47919,
    "c": 0.18648,
    "h": 316.7
  },
  "luminance": 0.09437
}

Semantic roles & 50–950 ramp

primary
#852DA1
secondary
#7FBF6B
accent
#E0486D
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #852DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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