#852397#852397

#852397 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.189 H 320.8°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#852397
RGBrgb(133, 35, 151)
HSLhsl(291, 62%, 36%)
HSVhsv(291, 77%, 59%)
CMYKcmyk(11.9%, 76.8%, 0%, 40.8%)
CIE-LABlab(34.85, 56.08, -42.56)
CIE-LCHlch(34.85, 70.40, 322.81°)
OKLaboklab(46.31% 0.1465 -0.1193)
OKLCHoklch(46.31% 0.189 320.8)
XYZxyz(15.8592, 8.4238, 30.0628)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852397 #359723
analogous
#4B2397 #852397 #97236F
triadic
#852397 #978523 #239785
tetradic
#852397 #974B23 #359723 #236F97
square
#852397 #974B23 #359723 #236F97
split-complementary
#852397 #6F9723 #23974B
monochromatic
#2D0C34 #591765 #852397 #B12FC9 #C65BD9

Accessibility & contrast

On white

7.82
#852397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#852397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852397
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852397#FFFFFF#000000##FFFFFF
##8523971.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#305594
Tritanopia (blue-blind)
#863A5C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #852397;
/* rgb */ color: rgb(133, 35, 151);
/* oklch */ color: oklch(46.3% 0.189 320.8);
Tailwind
colors: {
  custom: {
    50: '#ac69b6',
    500: '#852397',
    950: '#000000',
  },
}
SCSS
$custom: #852397;
$custom-light: #ac69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#852397",
  "rgb": {
    "r": 133,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 290.69,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46314,
    "c": 0.18888,
    "h": 320.8
  },
  "luminance": 0.08423
}

Semantic roles & 50–950 ramp

primary
#852397
secondary
#68BE58
accent
#E5425C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #852397

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

Preview Lab → · Contrast checker → · Palette generator →

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