#852197#852197

#852197 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.191 H 320.9°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#852197
RGBrgb(133, 33, 151)
HSLhsl(291, 64%, 36%)
HSVhsv(291, 78%, 59%)
CMYKcmyk(11.9%, 78.1%, 0%, 40.8%)
CIE-LABlab(34.62, 56.75, -42.93)
CIE-LCHlch(34.62, 71.16, 322.89°)
OKLaboklab(46.15% 0.1482 -0.1203)
OKLCHoklch(46.15% 0.191 320.9)
XYZxyz(15.8020, 8.3095, 30.0437)
Luminance0.0831 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852197 #339721
analogous
#4A2197 #852197 #97216E
triadic
#852197 #978521 #219785
tetradic
#852197 #974A21 #339721 #216E97
square
#852197 #974A21 #339721 #216E97
split-complementary
#852197 #6E9721 #21974A
monochromatic
#2D0B33 #591665 #852197 #B12CC9 #C758DA

Accessibility & contrast

On white

7.89
#852197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#852197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852197
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852197#FFFFFF#000000##FFFFFF
##8521971.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#2F5594
Tritanopia (blue-blind)
#86395B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #852197;
/* rgb */ color: rgb(133, 33, 151);
/* oklch */ color: oklch(46.2% 0.191 320.9);
Tailwind
colors: {
  custom: {
    50: '#ac69b6',
    500: '#852197',
    950: '#000000',
  },
}
SCSS
$custom: #852197;
$custom-light: #ac69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#852197",
  "rgb": {
    "r": 133,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 290.847,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4615,
    "c": 0.19093,
    "h": 320.9
  },
  "luminance": 0.08309
}

Semantic roles & 50–950 ramp

primary
#852197
secondary
#65BE55
accent
#E7415A
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #852197

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

Preview Lab → · Contrast checker → · Palette generator →

#852197 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva