#852786#852786

#852786 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.6% C 0.170 H 327.5°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#852786
RGBrgb(133, 39, 134)
HSLhsl(299, 55%, 34%)
HSVhsv(299, 71%, 53%)
CMYKcmyk(0.7%, 70.9%, 0%, 47.5%)
CIE-LABlab(34.31, 51.53, -32.97)
CIE-LCHlch(34.31, 61.17, 327.39°)
OKLaboklab(45.6% 0.1432 -0.0913)
OKLCHoklch(45.6% 0.17 327.5)
XYZxyz(14.7012, 8.1598, 23.3503)
Luminance0.0816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852786 #288627
analogous
#562786 #852786 #862758
triadic
#852786 #868527 #278685
tetradic
#852786 #865627 #288627 #275886
square
#852786 #865627 #288627 #275886
split-complementary
#852786 #588627 #278656
monochromatic
#270B27 #561957 #852786 #B435B5 #CD59CF

Accessibility & contrast

On white

7.98
#852786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#852786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852786
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852786#FFFFFF#000000##FFFFFF
##8527861.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164989
Deuteranopia (green-blind)
#3F5584
Tritanopia (blue-blind)
#893554
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #852786;
/* rgb */ color: rgb(133, 39, 134);
/* oklch */ color: oklch(45.6% 0.170 327.5);
Tailwind
colors: {
  custom: {
    50: '#ac6aa9',
    500: '#852786',
    950: '#000000',
  },
}
SCSS
$custom: #852786;
$custom-light: #ac6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#852786",
  "rgb": {
    "r": 133,
    "g": 39,
    "b": 134
  },
  "hsl": {
    "h": 299.368,
    "s": 54.913,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45596,
    "c": 0.16984,
    "h": 327.5
  },
  "luminance": 0.08159
}

Semantic roles & 50–950 ramp

primary
#852786
secondary
#56B455
accent
#DE4A4B
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #852786

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

Preview Lab → · Contrast checker → · Palette generator →

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