#852788#852788

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

Color values

HEX#852788
RGBrgb(133, 39, 136)
HSLhsl(298, 55%, 34%)
HSVhsv(298, 71%, 53%)
CMYKcmyk(2.2%, 71.3%, 0%, 46.7%)
CIE-LABlab(34.43, 51.88, -34.02)
CIE-LCHlch(34.43, 62.04, 326.75°)
OKLaboklab(45.72% 0.1432 -0.0944)
OKLCHoklch(45.72% 0.172 326.6)
XYZxyz(14.8421, 8.2162, 24.0919)
Luminance0.0822 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852788 #2A8827
analogous
#552788 #852788 #88275B
triadic
#852788 #888527 #278885
tetradic
#852788 #885527 #2A8827 #275B88
square
#852788 #885527 #2A8827 #275B88
split-complementary
#852788 #5B8827 #278855
monochromatic
#280C29 #561958 #852788 #B435B8 #CC5AD0

Accessibility & contrast

On white

7.95
#852788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #852788
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852788#FFFFFF#000000##FFFFFF
##8527881.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13498B
Deuteranopia (green-blind)
#3E5586
Tritanopia (blue-blind)
#893655
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #852788;
/* rgb */ color: rgb(133, 39, 136);
/* oklch */ color: oklch(45.7% 0.172 326.6);
Tailwind
colors: {
  custom: {
    50: '#ac6aab',
    500: '#852788',
    950: '#000000',
  },
}
SCSS
$custom: #852788;
$custom-light: #ac6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#852788",
  "rgb": {
    "r": 133,
    "g": 39,
    "b": 136
  },
  "hsl": {
    "h": 298.144,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45716,
    "c": 0.17153,
    "h": 326.6
  },
  "luminance": 0.08215
}

Semantic roles & 50–950 ramp

primary
#852788
secondary
#59B556
accent
#DF494E
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #852788

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

Preview Lab → · Contrast checker → · Palette generator →

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