#882397#882397

#882397 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.190 H 322.1°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#882397
RGBrgb(136, 35, 151)
HSLhsl(292, 62%, 36%)
HSVhsv(292, 77%, 59%)
CMYKcmyk(9.9%, 76.8%, 0%, 40.8%)
CIE-LABlab(35.34, 56.71, -41.74)
CIE-LCHlch(35.34, 70.41, 323.64°)
OKLaboklab(46.76% 0.1501 -0.1168)
OKLCHoklch(46.76% 0.19 322.1)
XYZxyz(16.3397, 8.6716, 30.0853)
Luminance0.0867 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882397 #329723
analogous
#4E2397 #882397 #97236C
triadic
#882397 #978823 #239788
tetradic
#882397 #974E23 #329723 #236C97
square
#882397 #974E23 #329723 #236C97
split-complementary
#882397 #6C9723 #23974E
monochromatic
#2F0C34 #5B1765 #882397 #B52FC9 #C95BD9

Accessibility & contrast

On white

7.68
#882397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#882397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882397
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882397#FFFFFF#000000##FFFFFF
##8823971.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#345794
Tritanopia (blue-blind)
#8A3A5C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #882397;
/* rgb */ color: rgb(136, 35, 151);
/* oklch */ color: oklch(46.8% 0.190 322.1);
Tailwind
colors: {
  custom: {
    50: '#ae6ab6',
    500: '#882397',
    950: '#000000',
  },
}
SCSS
$custom: #882397;
$custom-light: #ae6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#882397",
  "rgb": {
    "r": 136,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 292.241,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46761,
    "c": 0.19015,
    "h": 322.1
  },
  "luminance": 0.08671
}

Semantic roles & 50–950 ramp

primary
#882397
secondary
#65BE58
accent
#E54257
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #882397

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

Preview Lab → · Contrast checker → · Palette generator →

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