#872394#872394

#872394 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.187 H 322.8°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#872394
RGBrgb(135, 35, 148)
HSLhsl(293, 62%, 36%)
HSVhsv(293, 76%, 58%)
CMYKcmyk(8.8%, 76.4%, 0%, 42%)
CIE-LABlab(34.99, 55.94, -40.49)
CIE-LCHlch(34.99, 69.06, 324.10°)
OKLaboklab(46.41% 0.1491 -0.1131)
OKLCHoklch(46.41% 0.187 322.8)
XYZxyz(15.9375, 8.4920, 28.8109)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872394 #309423
analogous
#4E2394 #872394 #942368
triadic
#872394 #948723 #239487
tetradic
#872394 #944E23 #309423 #236894
square
#872394 #944E23 #309423 #236894
split-complementary
#872394 #689423 #23944E
monochromatic
#2D0C31 #5A1763 #872394 #B42FC5 #C95AD8

Accessibility & contrast

On white

7.78
#872394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#872394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872394
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872394#FFFFFF#000000##FFFFFF
##8723941.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #872394;
/* rgb */ color: rgb(135, 35, 148);
/* oklch */ color: oklch(46.4% 0.187 322.8);
Tailwind
colors: {
  custom: {
    50: '#ae69b4',
    500: '#872394',
    950: '#000000',
  },
}
SCSS
$custom: #872394;
$custom-light: #ae69b4;
$custom-dark: #000000;
JSON
{
  "hex": "#872394",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 293.097,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46414,
    "c": 0.18718,
    "h": 322.8
  },
  "luminance": 0.08491
}

Semantic roles & 50–950 ramp

primary
#872394
secondary
#62BC57
accent
#E54356
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872394

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

Preview Lab → · Contrast checker → · Palette generator →

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