#872492#872492

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

Color values

HEX#872492
RGBrgb(135, 36, 146)
HSLhsl(294, 60%, 36%)
HSVhsv(294, 75%, 57%)
CMYKcmyk(7.5%, 75.3%, 0%, 42.7%)
CIE-LABlab(34.98, 55.24, -39.28)
CIE-LCHlch(34.98, 67.78, 324.59°)
OKLaboklab(46.37% 0.1483 -0.1096)
OKLCHoklch(46.37% 0.184 323.5)
XYZxyz(15.8104, 8.4889, 27.9943)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872492 #2F9224
analogous
#502492 #872492 #922466
triadic
#872492 #928724 #249287
tetradic
#872492 #925024 #2F9224 #246692
square
#872492 #925024 #2F9224 #246692
split-complementary
#872492 #669224 #249250
monochromatic
#2C0C30 #5A1861 #872492 #B430C3 #CA5AD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##872492#FFFFFF#000000##FFFFFF
##8724921.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)
#004B95
Deuteranopia (green-blind)
#37568F
Tritanopia (blue-blind)
#893859
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #872492;
/* rgb */ color: rgb(135, 36, 146);
/* oklch */ color: oklch(46.4% 0.184 323.5);
Tailwind
colors: {
  custom: {
    50: '#ad6ab2',
    500: '#872492',
    950: '#000000',
  },
}
SCSS
$custom: #872492;
$custom-light: #ad6ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#872492",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 294,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4637,
    "c": 0.18442,
    "h": 323.5
  },
  "luminance": 0.08488
}

Semantic roles & 50–950 ramp

primary
#872492
secondary
#61BB57
accent
#E44454
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872492

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

Preview Lab → · Contrast checker → · Palette generator →

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