#852A97#852A97

#852A97 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.0% C 0.181 H 320.5°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#852A97
RGBrgb(133, 42, 151)
HSLhsl(290, 56%, 38%)
HSVhsv(290, 72%, 59%)
CMYKcmyk(11.9%, 72.2%, 0%, 40.8%)
CIE-LABlab(35.75, 53.52, -41.12)
CIE-LCHlch(35.75, 67.49, 322.46°)
OKLaboklab(46.95% 0.1396 -0.1151)
OKLCHoklch(46.95% 0.181 320.5)
XYZxyz(16.0861, 8.8777, 30.1384)
Luminance0.0888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852A97 #3C972A
analogous
#4F2A97 #852A97 #972A72
triadic
#852A97 #97852A #2A9785
tetradic
#852A97 #974F2A #3C972A #2A7297
square
#852A97 #974F2A #3C972A #2A7297
split-complementary
#852A97 #72972A #2A974F
monochromatic
#310F37 #5B1D67 #852A97 #AF37C7 #C367D5

Accessibility & contrast

On white

7.57
#852A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#852A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852A97
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852A97#FFFFFF#000000##FFFFFF
##852A971.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#355794
Tritanopia (blue-blind)
#863E5E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #852a97;
/* rgb */ color: rgb(133, 42, 151);
/* oklch */ color: oklch(47.0% 0.181 320.5);
Tailwind
colors: {
  custom: {
    50: '#ac6cb6',
    500: '#852a97',
    950: '#000000',
  },
}
SCSS
$custom: #852a97;
$custom-light: #ac6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#852a97",
  "rgb": {
    "r": 133,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 290.092,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46953,
    "c": 0.18096,
    "h": 320.5
  },
  "luminance": 0.08877
}

Semantic roles & 50–950 ramp

primary
#852A97
secondary
#71BB62
accent
#E04861
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #852A97

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

Preview Lab → · Contrast checker → · Palette generator →

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