#852877#852877

#852877 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.8% C 0.156 H 334.5°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#852877
RGBrgb(133, 40, 119)
HSLhsl(309, 54%, 34%)
HSVhsv(309, 70%, 52%)
CMYKcmyk(0%, 69.9%, 10.5%, 47.8%)
CIE-LABlab(33.64, 48.58, -24.66)
CIE-LCHlch(33.64, 54.48, 333.09°)
OKLaboklab(44.85% 0.1411 -0.0673)
OKLCHoklch(44.85% 0.156 334.5)
XYZxyz(13.7616, 7.8372, 18.2371)
Luminance0.0784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852877 #288536
analogous
#652885 #852877 #852849
triadic
#852877 #778528 #287785
tetradic
#852877 #856528 #288536 #284985
square
#852877 #856528 #288536 #284985
split-complementary
#852877 #498528 #288565
monochromatic
#270C23 #561A4D #852877 #B436A1 #CD5ABC

Accessibility & contrast

On white

8.18
#852877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#852877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852877
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852877#FFFFFF#000000##FFFFFF
##8528771.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274679
Deuteranopia (green-blind)
#475475
Tritanopia (blue-blind)
#8B2F4C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #852877;
/* rgb */ color: rgb(133, 40, 119);
/* oklch */ color: oklch(44.8% 0.156 334.5);
Tailwind
colors: {
  custom: {
    50: '#ab6a9e',
    500: '#852877',
    950: '#000000',
  },
}
SCSS
$custom: #852877;
$custom-light: #ab6a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#852877",
  "rgb": {
    "r": 133,
    "g": 40,
    "b": 119
  },
  "hsl": {
    "h": 309.032,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44848,
    "c": 0.15636,
    "h": 334.5
  },
  "luminance": 0.07836
}

Semantic roles & 50–950 ramp

primary
#852877
secondary
#56B364
accent
#DD614B
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #852877

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

Preview Lab → · Contrast checker → · Palette generator →

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