#852477#852477

#852477 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.161 H 334.4°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#852477
RGBrgb(133, 36, 119)
HSLhsl(309, 57%, 33%)
HSVhsv(309, 73%, 52%)
CMYKcmyk(0%, 72.9%, 10.5%, 47.8%)
CIE-LABlab(33.10, 50.12, -25.51)
CIE-LCHlch(33.10, 56.24, 333.02°)
OKLaboklab(44.45% 0.1456 -0.0698)
OKLCHoklch(44.45% 0.161 334.4)
XYZxyz(13.6336, 7.5814, 18.1945)
Luminance0.0758 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852477 #248532
analogous
#622485 #852477 #852446
triadic
#852477 #778524 #247785
tetradic
#852477 #856224 #248532 #244685
square
#852477 #856224 #248532 #244685
split-complementary
#852477 #468524 #248562
monochromatic
#250A21 #55174C #852477 #B531A2 #D053BE

Accessibility & contrast

On white

8.35
#852477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#852477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852477
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852477#FFFFFF#000000##FFFFFF
##8524771.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234579
Deuteranopia (green-blind)
#455375
Tritanopia (blue-blind)
#8B2C4A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #852477;
/* rgb */ color: rgb(133, 36, 119);
/* oklch */ color: oklch(44.5% 0.161 334.4);
Tailwind
colors: {
  custom: {
    50: '#ac689e',
    500: '#852477',
    950: '#000000',
  },
}
SCSS
$custom: #852477;
$custom-light: #ac689e;
$custom-dark: #000000;
JSON
{
  "hex": "#852477",
  "rgb": {
    "r": 133,
    "g": 36,
    "b": 119
  },
  "hsl": {
    "h": 308.66,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44452,
    "c": 0.16149,
    "h": 334.4
  },
  "luminance": 0.0758
}

Semantic roles & 50–950 ramp

primary
#852477
secondary
#50B45F
accent
#E15D47
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #852477

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

Preview Lab → · Contrast checker → · Palette generator →

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