#852879#852879

#852879 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 45.0% C 0.158 H 333.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#852879
RGBrgb(133, 40, 121)
HSLhsl(308, 54%, 34%)
HSVhsv(308, 70%, 52%)
CMYKcmyk(0%, 69.9%, 9%, 47.8%)
CIE-LABlab(33.74, 48.91, -25.75)
CIE-LCHlch(33.74, 55.27, 332.23°)
OKLaboklab(44.96% 0.1413 -0.0705)
OKLCHoklch(44.96% 0.158 333.5)
XYZxyz(13.8829, 7.8857, 18.8764)
Luminance0.0789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852879 #288534
analogous
#632885 #852879 #85284B
triadic
#852879 #798528 #287985
tetradic
#852879 #856328 #288534 #284B85
square
#852879 #856328 #288534 #284B85
split-complementary
#852879 #4B8528 #288563
monochromatic
#270C23 #561A4E #852879 #B436A4 #CD5ABE

Accessibility & contrast

On white

8.15
#852879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#852879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852879
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852879#FFFFFF#000000##FFFFFF
##8528791.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25477B
Deuteranopia (green-blind)
#465477
Tritanopia (blue-blind)
#8B304D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #852879;
/* rgb */ color: rgb(133, 40, 121);
/* oklch */ color: oklch(45.0% 0.158 333.5);
Tailwind
colors: {
  custom: {
    50: '#ab6aa0',
    500: '#852879',
    950: '#000000',
  },
}
SCSS
$custom: #852879;
$custom-light: #ab6aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#852879",
  "rgb": {
    "r": 133,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 307.742,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44955,
    "c": 0.15793,
    "h": 333.5
  },
  "luminance": 0.07885
}

Semantic roles & 50–950 ramp

primary
#852879
secondary
#56B362
accent
#DD5E4B
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #852879

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

Preview Lab → · Contrast checker → · Palette generator →

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