#852D96#852D96

#852D96 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.2% C 0.176 H 320.7°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#852D96
RGBrgb(133, 45, 150)
HSLhsl(290, 54%, 38%)
HSVhsv(290, 70%, 59%)
CMYKcmyk(11.3%, 70%, 0%, 41.2%)
CIE-LABlab(36.11, 52.12, -39.93)
CIE-LCHlch(36.11, 65.66, 322.54°)
OKLaboklab(47.19% 0.1365 -0.1116)
OKLCHoklch(47.19% 0.176 320.7)
XYZxyz(16.1156, 9.0661, 29.7493)
Luminance0.0906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852D96 #3E962D
analogous
#502D96 #852D96 #962D72
triadic
#852D96 #96852D #2D9685
tetradic
#852D96 #96502D #3E962D #2D7296
square
#852D96 #96502D #3E962D #2D7296
split-complementary
#852D96 #72962D #2D9650
monochromatic
#321138 #5B1F67 #852D96 #AE3CC4 #C26BD3

Accessibility & contrast

On white

7.47
#852D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#852D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852D96
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852D96#FFFFFF#000000##FFFFFF
##852D961.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034F99
Deuteranopia (green-blind)
#385893
Tritanopia (blue-blind)
#86405E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #852d96;
/* rgb */ color: rgb(133, 45, 150);
/* oklch */ color: oklch(47.2% 0.176 320.7);
Tailwind
colors: {
  custom: {
    50: '#ac6eb5',
    500: '#852d96',
    950: '#000000',
  },
}
SCSS
$custom: #852d96;
$custom-light: #ac6eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#852d96",
  "rgb": {
    "r": 133,
    "g": 45,
    "b": 150
  },
  "hsl": {
    "h": 290.286,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47193,
    "c": 0.17632,
    "h": 320.7
  },
  "luminance": 0.09065
}

Semantic roles & 50–950 ramp

primary
#852D96
secondary
#73B965
accent
#DD4B62
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #852D96

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

Preview Lab → · Contrast checker → · Palette generator →

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