#872490#872490

#872490 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.183 H 324.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#872490
RGBrgb(135, 36, 144)
HSLhsl(295, 60%, 35%)
HSVhsv(295, 75%, 56%)
CMYKcmyk(6.2%, 75%, 0%, 43.5%)
CIE-LABlab(34.86, 54.87, -38.25)
CIE-LCHlch(34.86, 66.89, 325.12°)
OKLaboklab(46.24% 0.1484 -0.1066)
OKLCHoklch(46.24% 0.183 324.3)
XYZxyz(15.6562, 8.4273, 27.1821)
Luminance0.0843 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872490 #2D9024
analogous
#512490 #872490 #902463
triadic
#872490 #908724 #249087
tetradic
#872490 #905124 #2D9024 #246390
square
#872490 #905124 #2D9024 #246390
split-complementary
#872490 #639024 #249051
monochromatic
#2B0C2E #59185F #872490 #B530C1 #CB59D5

Accessibility & contrast

On white

7.82
#872490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#872490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872490
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872490#FFFFFF#000000##FFFFFF
##8724901.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#39568D
Tritanopia (blue-blind)
#8A3758
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #872490;
/* rgb */ color: rgb(135, 36, 144);
/* oklch */ color: oklch(46.2% 0.183 324.3);
Tailwind
colors: {
  custom: {
    50: '#ad6ab1',
    500: '#872490',
    950: '#000000',
  },
}
SCSS
$custom: #872490;
$custom-light: #ad6ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#872490",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 295,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46242,
    "c": 0.18274,
    "h": 324.3
  },
  "luminance": 0.08426
}

Semantic roles & 50–950 ramp

primary
#872490
secondary
#5EBA56
accent
#E34552
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110711
muted
#807A80

Preview Lab

Preview with #872490

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

Preview Lab → · Contrast checker → · Palette generator →

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