#872494#872494

#872494 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.5% C 0.186 H 322.8°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#872494
RGBrgb(135, 36, 148)
HSLhsl(293, 61%, 36%)
HSVhsv(293, 76%, 58%)
CMYKcmyk(8.8%, 75.7%, 0%, 42%)
CIE-LABlab(35.11, 55.60, -40.30)
CIE-LCHlch(35.11, 68.67, 324.07°)
OKLaboklab(46.5% 0.1482 -0.1126)
OKLCHoklch(46.5% 0.186 322.8)
XYZxyz(15.9673, 8.5517, 28.8208)
Luminance0.0855 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872494 #319424
analogous
#4F2494 #872494 #942469
triadic
#872494 #948724 #249487
tetradic
#872494 #944F24 #319424 #246994
square
#872494 #944F24 #319424 #246994
split-complementary
#872494 #699424 #24944F
monochromatic
#2D0C32 #5A1863 #872494 #B430C5 #C95BD7

Accessibility & contrast

On white

7.75
#872494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872494
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872494#FFFFFF#000000##FFFFFF
##8724941.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#365691
Tritanopia (blue-blind)
#89395A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #872494;
/* rgb */ color: rgb(135, 36, 148);
/* oklch */ color: oklch(46.5% 0.186 322.8);
Tailwind
colors: {
  custom: {
    50: '#ae6ab4',
    500: '#872494',
    950: '#000000',
  },
}
SCSS
$custom: #872494;
$custom-light: #ae6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#872494",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 293.036,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46499,
    "c": 0.18611,
    "h": 322.8
  },
  "luminance": 0.08551
}

Semantic roles & 50–950 ramp

primary
#872494
secondary
#64BC58
accent
#E44456
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872494

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

Preview Lab → · Contrast checker → · Palette generator →

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