#852876#852876

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

Color values

HEX#852876
RGBrgb(133, 40, 118)
HSLhsl(310, 54%, 34%)
HSVhsv(310, 70%, 52%)
CMYKcmyk(0%, 69.9%, 11.3%, 47.8%)
CIE-LABlab(33.59, 48.42, -24.11)
CIE-LCHlch(33.59, 54.09, 333.53°)
OKLaboklab(44.79% 0.141 -0.0658)
OKLCHoklch(44.79% 0.156 335)
XYZxyz(13.7018, 7.8133, 17.9225)
Luminance0.0781 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852876 #288537
analogous
#662885 #852876 #852848
triadic
#852876 #768528 #287685
tetradic
#852876 #856628 #288537 #284885
square
#852876 #856628 #288537 #284885
split-complementary
#852876 #488528 #288566
monochromatic
#270C23 #561A4C #852876 #B436A0 #CD5ABB

Accessibility & contrast

On white

8.20
#852876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#852876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852876
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852876#FFFFFF#000000##FFFFFF
##8528761.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284678
Deuteranopia (green-blind)
#475474
Tritanopia (blue-blind)
#8C2F4B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #852876;
/* rgb */ color: rgb(133, 40, 118);
/* oklch */ color: oklch(44.8% 0.156 335.0);
Tailwind
colors: {
  custom: {
    50: '#ac6a9e',
    500: '#852876',
    950: '#000000',
  },
}
SCSS
$custom: #852876;
$custom-light: #ac6a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#852876",
  "rgb": {
    "r": 133,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 309.677,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44794,
    "c": 0.15558,
    "h": 335
  },
  "luminance": 0.07812
}

Semantic roles & 50–950 ramp

primary
#852876
secondary
#56B365
accent
#DD624B
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #852876

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

Preview Lab → · Contrast checker → · Palette generator →

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