#852C97#852C97

#852C97 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.2% C 0.178 H 320.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#852C97
RGBrgb(133, 44, 151)
HSLhsl(290, 55%, 38%)
HSVhsv(290, 71%, 59%)
CMYKcmyk(11.9%, 70.9%, 0%, 40.8%)
CIE-LABlab(36.03, 52.73, -40.67)
CIE-LCHlch(36.03, 66.59, 322.35°)
OKLaboklab(47.15% 0.1375 -0.1138)
OKLCHoklch(47.15% 0.179 320.4)
XYZxyz(16.1588, 9.0231, 30.1626)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852C97 #3E972C
analogous
#502C97 #852C97 #972C73
triadic
#852C97 #97852C #2C9785
tetradic
#852C97 #97502C #3E972C #2C7397
square
#852C97 #97502C #3E972C #2C7397
split-complementary
#852C97 #73972C #2C9750
monochromatic
#321038 #5B1E68 #852C97 #AE3AC6 #C26AD4

Accessibility & contrast

On white

7.49
#852C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#852C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852C97
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852C97#FFFFFF#000000##FFFFFF
##852C971.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #852c97;
/* rgb */ color: rgb(133, 44, 151);
/* oklch */ color: oklch(47.2% 0.178 320.4);
Tailwind
colors: {
  custom: {
    50: '#ac6db6',
    500: '#852c97',
    950: '#000000',
  },
}
SCSS
$custom: #852c97;
$custom-light: #ac6db6;
$custom-dark: #000000;
JSON
{
  "hex": "#852c97",
  "rgb": {
    "r": 133,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 289.907,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47154,
    "c": 0.1785,
    "h": 320.4
  },
  "luminance": 0.09022
}

Semantic roles & 50–950 ramp

primary
#852C97
secondary
#73BA65
accent
#DE4A63
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #852C97

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

Preview Lab → · Contrast checker → · Palette generator →

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