#872497#872497

#872497 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.7% C 0.189 H 321.7°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#872497
RGBrgb(135, 36, 151)
HSLhsl(292, 61%, 37%)
HSVhsv(292, 76%, 59%)
CMYKcmyk(10.6%, 76.2%, 0%, 40.8%)
CIE-LABlab(35.30, 56.16, -41.82)
CIE-LCHlch(35.30, 70.02, 323.32°)
OKLaboklab(46.7% 0.148 -0.117)
OKLCHoklch(46.7% 0.189 321.7)
XYZxyz(16.2079, 8.6479, 30.0877)
Luminance0.0865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872497 #349724
analogous
#4E2497 #872497 #97246E
triadic
#872497 #978724 #249787
tetradic
#872497 #974E24 #349724 #246E97
square
#872497 #974E24 #349724 #246E97
split-complementary
#872497 #6E9724 #24974E
monochromatic
#2F0C34 #5B1866 #872497 #B330C8 #C75DD8

Accessibility & contrast

On white

7.69
#872497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872497
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872497#FFFFFF#000000##FFFFFF
##8724971.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#335794
Tritanopia (blue-blind)
#883B5C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #872497;
/* rgb */ color: rgb(135, 36, 151);
/* oklch */ color: oklch(46.7% 0.189 321.7);
Tailwind
colors: {
  custom: {
    50: '#ae6ab6',
    500: '#872497',
    950: '#000000',
  },
}
SCSS
$custom: #872497;
$custom-light: #ae6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#872497",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 291.652,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46696,
    "c": 0.18866,
    "h": 321.7
  },
  "luminance": 0.08647
}

Semantic roles & 50–950 ramp

primary
#872497
secondary
#67BD5A
accent
#E5435A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872497

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

Preview Lab → · Contrast checker → · Palette generator →

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