#852987#852987

#852987 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.9% C 0.168 H 327.0°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#852987
RGBrgb(133, 41, 135)
HSLhsl(299, 53%, 35%)
HSVhsv(299, 70%, 53%)
CMYKcmyk(1.5%, 69.6%, 0%, 47.1%)
CIE-LABlab(34.65, 50.93, -33.06)
CIE-LCHlch(34.65, 60.72, 327.01°)
OKLaboklab(45.85% 0.141 -0.0916)
OKLCHoklch(45.85% 0.168 327)
XYZxyz(14.8387, 8.3227, 23.7418)
Luminance0.0832 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852987 #2B8729
analogous
#562987 #852987 #87295A
triadic
#852987 #878529 #298785
tetradic
#852987 #875629 #2B8729 #295A87
square
#852987 #875629 #2B8729 #295A87
split-complementary
#852987 #5A8729 #298756
monochromatic
#290C29 #571B58 #852987 #B337B6 #CB5DCE

Accessibility & contrast

On white

7.88
#852987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#852987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852987
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852987#FFFFFF#000000##FFFFFF
##8529871.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184A8A
Deuteranopia (green-blind)
#3F5685
Tritanopia (blue-blind)
#893755
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #852987;
/* rgb */ color: rgb(133, 41, 135);
/* oklch */ color: oklch(45.9% 0.168 327.0);
Tailwind
colors: {
  custom: {
    50: '#ac6baa',
    500: '#852987',
    950: '#000000',
  },
}
SCSS
$custom: #852987;
$custom-light: #ac6baa;
$custom-dark: #000000;
JSON
{
  "hex": "#852987",
  "rgb": {
    "r": 133,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 298.723,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45853,
    "c": 0.16817,
    "h": 327
  },
  "luminance": 0.08322
}

Semantic roles & 50–950 ramp

primary
#852987
secondary
#5BB359
accent
#DD4B4E
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #852987

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

Preview Lab → · Contrast checker → · Palette generator →

#852987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva