#872297#872297

#872297 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.5% C 0.191 H 321.7°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#872297
RGBrgb(135, 34, 151)
HSLhsl(292, 63%, 36%)
HSVhsv(292, 77%, 59%)
CMYKcmyk(10.6%, 77.5%, 0%, 40.8%)
CIE-LABlab(35.06, 56.83, -42.20)
CIE-LCHlch(35.06, 70.78, 323.40°)
OKLaboklab(46.53% 0.1498 -0.1181)
OKLCHoklch(46.53% 0.191 321.7)
XYZxyz(16.1490, 8.5302, 30.0680)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872297 #329722
analogous
#4D2297 #872297 #97226D
triadic
#872297 #978722 #229787
tetradic
#872297 #974D22 #329722 #226D97
square
#872297 #974D22 #329722 #226D97
split-complementary
#872297 #6D9722 #22974D
monochromatic
#2E0C33 #5A1765 #872297 #B42DC9 #C85ADA

Accessibility & contrast

On white

7.76
#872297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#872297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872297
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872297#FFFFFF#000000##FFFFFF
##8722971.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#325694
Tritanopia (blue-blind)
#88395C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #872297;
/* rgb */ color: rgb(135, 34, 151);
/* oklch */ color: oklch(46.5% 0.191 321.7);
Tailwind
colors: {
  custom: {
    50: '#ae69b6',
    500: '#872297',
    950: '#000000',
  },
}
SCSS
$custom: #872297;
$custom-light: #ae69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#872297",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 291.795,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4653,
    "c": 0.19075,
    "h": 321.7
  },
  "luminance": 0.08529
}

Semantic roles & 50–950 ramp

primary
#872297
secondary
#65BE57
accent
#E64258
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872297

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

Preview Lab → · Contrast checker → · Palette generator →

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