#852787#852787

#852787 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.7% C 0.171 H 327.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#852787
RGBrgb(133, 39, 135)
HSLhsl(299, 55%, 34%)
HSVhsv(299, 71%, 53%)
CMYKcmyk(1.5%, 71.1%, 0%, 47.1%)
CIE-LABlab(34.37, 51.70, -33.49)
CIE-LCHlch(34.37, 61.60, 327.07°)
OKLaboklab(45.66% 0.1432 -0.0928)
OKLCHoklch(45.66% 0.171 327)
XYZxyz(14.7713, 8.1879, 23.7194)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852787 #298727
analogous
#552787 #852787 #872759
triadic
#852787 #878527 #278785
tetradic
#852787 #875527 #298727 #275987
square
#852787 #875527 #298727 #275987
split-complementary
#852787 #598727 #278755
monochromatic
#270C28 #561958 #852787 #B435B6 #CD59CF

Accessibility & contrast

On white

7.96
#852787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#852787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852787
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852787#FFFFFF#000000##FFFFFF
##8527871.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15498A
Deuteranopia (green-blind)
#3E5585
Tritanopia (blue-blind)
#893654
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #852787;
/* rgb */ color: rgb(133, 39, 135);
/* oklch */ color: oklch(45.7% 0.171 327.0);
Tailwind
colors: {
  custom: {
    50: '#ac6aaa',
    500: '#852787',
    950: '#000000',
  },
}
SCSS
$custom: #852787;
$custom-light: #ac6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#852787",
  "rgb": {
    "r": 133,
    "g": 39,
    "b": 135
  },
  "hsl": {
    "h": 298.75,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45655,
    "c": 0.17069,
    "h": 327
  },
  "luminance": 0.08187
}

Semantic roles & 50–950 ramp

primary
#852787
secondary
#58B456
accent
#DF494C
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #852787

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

Preview Lab → · Contrast checker → · Palette generator →

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