#852087#852087

#852087 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.0% C 0.179 H 327.2°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#852087
RGBrgb(133, 32, 135)
HSLhsl(299, 62%, 33%)
HSVhsv(299, 76%, 53%)
CMYKcmyk(1.5%, 76.3%, 0%, 47.1%)
CIE-LABlab(33.50, 54.19, -34.88)
CIE-LCHlch(33.50, 64.44, 327.23°)
OKLaboklab(45.03% 0.1502 -0.0968)
OKLCHoklch(45.03% 0.179 327.2)
XYZxyz(14.5623, 7.7699, 23.6497)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852087 #228720
analogous
#512087 #852087 #872055
triadic
#852087 #878520 #208785
tetradic
#852087 #875120 #228720 #205587
square
#852087 #875120 #228720 #205587
split-complementary
#852087 #558720 #208751
monochromatic
#240924 #541456 #852087 #B62CB8 #D24DD5

Accessibility & contrast

On white

8.22
#852087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#852087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852087
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852087#FFFFFF#000000##FFFFFF
##8520871.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04478A
Deuteranopia (green-blind)
#3B5384
Tritanopia (blue-blind)
#893152
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #852087;
/* rgb */ color: rgb(133, 32, 135);
/* oklch */ color: oklch(45.0% 0.179 327.2);
Tailwind
colors: {
  custom: {
    50: '#ac67aa',
    500: '#852087',
    950: '#000000',
  },
}
SCSS
$custom: #852087;
$custom-light: #ac67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#852087",
  "rgb": {
    "r": 133,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 298.835,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45031,
    "c": 0.17871,
    "h": 327.2
  },
  "luminance": 0.07769
}

Semantic roles & 50–950 ramp

primary
#852087
secondary
#4DB84B
accent
#E54346
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #852087

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

Preview Lab → · Contrast checker → · Palette generator →

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