#852D89#852D89

#852D89 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.4% C 0.165 H 326.0°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#852D89
RGBrgb(133, 45, 137)
HSLhsl(297, 51%, 36%)
HSVhsv(297, 67%, 54%)
CMYKcmyk(2.9%, 67.2%, 0%, 46.3%)
CIE-LABlab(35.34, 49.66, -33.19)
CIE-LCHlch(35.34, 59.73, 326.24°)
OKLaboklab(46.39% 0.1365 -0.092)
OKLCHoklch(46.39% 0.165 326)
XYZxyz(15.1263, 8.6704, 24.5389)
Luminance0.0867 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852D89 #31892D
analogous
#572D89 #852D89 #892D5F
triadic
#852D89 #89852D #2D8985
tetradic
#852D89 #89572D #31892D #2D5F89
square
#852D89 #89572D #31892D #2D5F89
split-complementary
#852D89 #5F892D #2D8957
monochromatic
#2C0F2D #581E5B #852D89 #B23CB7 #C864CC

Accessibility & contrast

On white

7.68
#852D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#852D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852D89
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852D89#FFFFFF#000000##FFFFFF
##852D891.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4C8C
Deuteranopia (green-blind)
#405787
Tritanopia (blue-blind)
#883A57
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #852d89;
/* rgb */ color: rgb(133, 45, 137);
/* oklch */ color: oklch(46.4% 0.165 326.0);
Tailwind
colors: {
  custom: {
    50: '#ab6dac',
    500: '#852d89',
    950: '#000000',
  },
}
SCSS
$custom: #852d89;
$custom-light: #ab6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#852d89",
  "rgb": {
    "r": 133,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 297.391,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46391,
    "c": 0.16463,
    "h": 326
  },
  "luminance": 0.08669
}

Semantic roles & 50–950 ramp

primary
#852D89
secondary
#63B35F
accent
#DA4E54
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #852D89

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

Preview Lab → · Contrast checker → · Palette generator →

#852D89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva