#852D97#852D97

#852D97 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.3% C 0.177 H 320.3°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#852D97
RGBrgb(133, 45, 151)
HSLhsl(290, 54%, 38%)
HSVhsv(290, 70%, 59%)
CMYKcmyk(11.9%, 70.2%, 0%, 40.8%)
CIE-LABlab(36.17, 52.32, -40.44)
CIE-LCHlch(36.17, 66.13, 322.30°)
OKLaboklab(47.26% 0.1364 -0.1131)
OKLCHoklch(47.26% 0.177 320.3)
XYZxyz(16.1965, 9.0985, 30.1752)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852D97 #3F972D
analogous
#502D97 #852D97 #972D74
triadic
#852D97 #97852D #2D9785
tetradic
#852D97 #97502D #3F972D #2D7497
square
#852D97 #97502D #3F972D #2D7497
split-complementary
#852D97 #74972D #2D9750
monochromatic
#321139 #5B1F68 #852D97 #AE3CC5 #C16BD3

Accessibility & contrast

On white

7.45
#852D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#852D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852D97
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852D97#FFFFFF#000000##FFFFFF
##852D971.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#375894
Tritanopia (blue-blind)
#86405F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #852d97;
/* rgb */ color: rgb(133, 45, 151);
/* oklch */ color: oklch(47.3% 0.177 320.3);
Tailwind
colors: {
  custom: {
    50: '#ac6eb6',
    500: '#852d97',
    950: '#000000',
  },
}
SCSS
$custom: #852d97;
$custom-light: #ac6eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#852d97",
  "rgb": {
    "r": 133,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 289.811,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47257,
    "c": 0.17723,
    "h": 320.3
  },
  "luminance": 0.09098
}

Semantic roles & 50–950 ramp

primary
#852D97
secondary
#74BA66
accent
#DD4A63
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #852D97

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

Preview Lab → · Contrast checker → · Palette generator →

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