#852C87#852C87

#852C87 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.2% C 0.164 H 326.9°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#852C87
RGBrgb(133, 44, 135)
HSLhsl(299, 51%, 35%)
HSVhsv(299, 67%, 53%)
CMYKcmyk(1.5%, 67.4%, 0%, 47.1%)
CIE-LABlab(35.08, 49.71, -32.37)
CIE-LCHlch(35.08, 59.32, 326.93°)
OKLaboklab(46.17% 0.1376 -0.0896)
OKLCHoklch(46.17% 0.164 326.9)
XYZxyz(14.9465, 8.5382, 23.7778)
Luminance0.0854 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852C87 #2E872C
analogous
#572C87 #852C87 #872C5C
triadic
#852C87 #87852C #2C8785
tetradic
#852C87 #87572C #2E872C #2C5C87
square
#852C87 #87572C #2E872C #2C5C87
split-complementary
#852C87 #5C872C #2C8757
monochromatic
#2A0E2B #581D59 #852C87 #B23BB5 #C962CC

Accessibility & contrast

On white

7.76
#852C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#852C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852C87
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852C87#FFFFFF#000000##FFFFFF
##852C871.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4B8A
Deuteranopia (green-blind)
#415685
Tritanopia (blue-blind)
#893956
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #852c87;
/* rgb */ color: rgb(133, 44, 135);
/* oklch */ color: oklch(46.2% 0.164 326.9);
Tailwind
colors: {
  custom: {
    50: '#ab6daa',
    500: '#852c87',
    950: '#000000',
  },
}
SCSS
$custom: #852c87;
$custom-light: #ab6daa;
$custom-dark: #000000;
JSON
{
  "hex": "#852c87",
  "rgb": {
    "r": 133,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 298.681,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46165,
    "c": 0.16423,
    "h": 326.9
  },
  "luminance": 0.08537
}

Semantic roles & 50–950 ramp

primary
#852C87
secondary
#5FB25D
accent
#DA4D51
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #852C87

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

Preview Lab → · Contrast checker → · Palette generator →

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