#852C8D#852C8D

#852C8D is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.5% C 0.170 H 324.4°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#852C8D
RGBrgb(133, 44, 141)
HSLhsl(295, 52%, 36%)
HSVhsv(295, 69%, 55%)
CMYKcmyk(5.7%, 68.8%, 0%, 44.7%)
CIE-LABlab(35.42, 50.82, -35.52)
CIE-LCHlch(35.42, 62.00, 325.04°)
OKLaboklab(46.53% 0.1378 -0.0988)
OKLCHoklch(46.53% 0.17 324.4)
XYZxyz(15.3809, 8.7119, 26.0656)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852C8D #348D2C
analogous
#552C8D #852C8D #8D2C65
triadic
#852C8D #8D852C #2C8D85
tetradic
#852C8D #8D552C #348D2C #2C658D
square
#852C8D #8D552C #348D2C #2C658D
split-complementary
#852C8D #658D2C #2C8D55
monochromatic
#2D0F30 #591D5E #852C8D #B13BBC #C665CF

Accessibility & contrast

On white

7.66
#852C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#852C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852C8D
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852C8D#FFFFFF#000000##FFFFFF
##852C8D1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154C90
Deuteranopia (green-blind)
#3D578B
Tritanopia (blue-blind)
#883B59
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #852c8d;
/* rgb */ color: rgb(133, 44, 141);
/* oklch */ color: oklch(46.5% 0.170 324.4);
Tailwind
colors: {
  custom: {
    50: '#ac6daf',
    500: '#852c8d',
    950: '#000000',
  },
}
SCSS
$custom: #852c8d;
$custom-light: #ac6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#852c8d",
  "rgb": {
    "r": 133,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 295.052,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46525,
    "c": 0.16951,
    "h": 324.4
  },
  "luminance": 0.08711
}

Semantic roles & 50–950 ramp

primary
#852C8D
secondary
#67B560
accent
#DC4C58
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #852C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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