#852C8A#852C8A

#852C8A is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.3% C 0.167 H 325.6°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#852C8A
RGBrgb(133, 44, 138)
HSLhsl(297, 52%, 36%)
HSVhsv(297, 68%, 54%)
CMYKcmyk(3.6%, 68.1%, 0%, 45.9%)
CIE-LABlab(35.25, 50.26, -33.95)
CIE-LCHlch(35.25, 60.65, 325.96°)
OKLaboklab(46.34% 0.1377 -0.0942)
OKLCHoklch(46.34% 0.167 325.6)
XYZxyz(15.1607, 8.6238, 24.9059)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852C8A #318A2C
analogous
#562C8A #852C8A #8A2C60
triadic
#852C8A #8A852C #2C8A85
tetradic
#852C8A #8A562C #318A2C #2C608A
square
#852C8A #8A562C #318A2C #2C608A
split-complementary
#852C8A #608A2C #2C8A56
monochromatic
#2C0E2D #581D5C #852C8A #B23BB8 #C863CD

Accessibility & contrast

On white

7.71
#852C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#852C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852C8A
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852C8A#FFFFFF#000000##FFFFFF
##852C8A1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4C8D
Deuteranopia (green-blind)
#3F5788
Tritanopia (blue-blind)
#883A57
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #852c8a;
/* rgb */ color: rgb(133, 44, 138);
/* oklch */ color: oklch(46.3% 0.167 325.6);
Tailwind
colors: {
  custom: {
    50: '#ab6dac',
    500: '#852c8a',
    950: '#000000',
  },
}
SCSS
$custom: #852c8a;
$custom-light: #ab6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#852c8a",
  "rgb": {
    "r": 133,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 296.809,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46343,
    "c": 0.16685,
    "h": 325.6
  },
  "luminance": 0.08623
}

Semantic roles & 50–950 ramp

primary
#852C8A
secondary
#63B45E
accent
#DB4D54
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #852C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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