#852C8B#852C8B

#852C8B is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.4% C 0.168 H 325.2°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#852C8B
RGBrgb(133, 44, 139)
HSLhsl(296, 52%, 36%)
HSVhsv(296, 68%, 55%)
CMYKcmyk(4.3%, 68.3%, 0%, 45.5%)
CIE-LABlab(35.31, 50.44, -34.48)
CIE-LCHlch(35.31, 61.10, 325.65°)
OKLaboklab(46.4% 0.1377 -0.0957)
OKLCHoklch(46.4% 0.168 325.2)
XYZxyz(15.2334, 8.6529, 25.2889)
Luminance0.0865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852C8B #328B2C
analogous
#552C8B #852C8B #8B2C61
triadic
#852C8B #8B852C #2C8B85
tetradic
#852C8B #8B552C #328B2C #2C618B
square
#852C8B #8B552C #328B2C #2C618B
split-complementary
#852C8B #618B2C #2C8B55
monochromatic
#2C0F2E #591D5D #852C8B #B13BB9 #C764CE

Accessibility & contrast

On white

7.69
#852C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#852C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852C8B
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852C8B#FFFFFF#000000##FFFFFF
##852C8B1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184C8E
Deuteranopia (green-blind)
#3F5789
Tritanopia (blue-blind)
#883B58
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #852c8b;
/* rgb */ color: rgb(133, 44, 139);
/* oklch */ color: oklch(46.4% 0.168 325.2);
Tailwind
colors: {
  custom: {
    50: '#ab6dad',
    500: '#852c8b',
    950: '#000000',
  },
}
SCSS
$custom: #852c8b;
$custom-light: #ab6dad;
$custom-dark: #000000;
JSON
{
  "hex": "#852c8b",
  "rgb": {
    "r": 133,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 296.211,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46403,
    "c": 0.16773,
    "h": 325.2
  },
  "luminance": 0.08652
}

Semantic roles & 50–950 ramp

primary
#852C8B
secondary
#64B45F
accent
#DB4C55
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #852C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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