#872390#872390

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

Color values

HEX#872390
RGBrgb(135, 35, 144)
HSLhsl(295, 61%, 35%)
HSVhsv(295, 76%, 56%)
CMYKcmyk(6.2%, 75.7%, 0%, 43.5%)
CIE-LABlab(34.74, 55.22, -38.44)
CIE-LCHlch(34.74, 67.28, 325.16°)
OKLaboklab(46.16% 0.1494 -0.1071)
OKLCHoklch(46.16% 0.184 324.3)
XYZxyz(15.6263, 8.3676, 27.1722)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872390 #2C9023
analogous
#512390 #872390 #902362
triadic
#872390 #908723 #239087
tetradic
#872390 #905123 #2C9023 #236290
square
#872390 #905123 #2C9023 #236290
split-complementary
#872390 #629023 #239051
monochromatic
#2B0B2E #59175F #872390 #B52FC1 #CC57D6

Accessibility & contrast

On white

7.86
#872390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#872390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872390
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872390#FFFFFF#000000##FFFFFF
##8723901.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #872390;
/* rgb */ color: rgb(135, 35, 144);
/* oklch */ color: oklch(46.2% 0.184 324.3);
Tailwind
colors: {
  custom: {
    50: '#ad69b1',
    500: '#872390',
    950: '#000000',
  },
}
SCSS
$custom: #872390;
$custom-light: #ad69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#872390",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 295.046,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46156,
    "c": 0.18383,
    "h": 324.3
  },
  "luminance": 0.08367
}

Semantic roles & 50–950 ramp

primary
#872390
secondary
#5DBA54
accent
#E44451
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110711
muted
#807A80

Preview Lab

Preview with #872390

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

Preview Lab → · Contrast checker → · Palette generator →

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