#8E2790#8E2790

#8E2790 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.183 H 327.2°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8E2790
RGBrgb(142, 39, 144)
HSLhsl(299, 57%, 36%)
HSVhsv(299, 73%, 56%)
CMYKcmyk(1.4%, 72.9%, 0%, 43.5%)
CIE-LABlab(36.40, 55.39, -35.72)
CIE-LCHlch(36.40, 65.91, 327.18°)
OKLaboklab(47.57% 0.1535 -0.0991)
OKLCHoklch(47.57% 0.183 327.2)
XYZxyz(16.9146, 9.2166, 27.2682)
Luminance0.0921 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2790 #299027
analogous
#592790 #8E2790 #90275D
triadic
#8E2790 #908E27 #27908E
tetradic
#8E2790 #905927 #299027 #275D90
square
#8E2790 #905927 #299027 #275D90
split-complementary
#8E2790 #5D9027 #279059
monochromatic
#2F0D30 #5F1A60 #8E2790 #BD34C0 #D15ED3

Accessibility & contrast

On white

7.39
#8E2790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8E2790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2790
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2790#FFFFFF#000000##FFFFFF
##8E27901.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114D93
Deuteranopia (green-blind)
#415A8D
Tritanopia (blue-blind)
#923759
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e2790;
/* rgb */ color: rgb(142, 39, 144);
/* oklch */ color: oklch(47.6% 0.183 327.2);
Tailwind
colors: {
  custom: {
    50: '#b26cb1',
    500: '#8e2790',
    950: '#000000',
  },
}
SCSS
$custom: #8e2790;
$custom-light: #b26cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2790",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 144
  },
  "hsl": {
    "h": 298.857,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47571,
    "c": 0.18273,
    "h": 327.2
  },
  "luminance": 0.09215
}

Semantic roles & 50–950 ramp

primary
#8E2790
secondary
#5CB95A
accent
#E1474A
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2790

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

Preview Lab → · Contrast checker → · Palette generator →

#8E2790 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva