#8E2490#8E2490

#8E2490 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.186 H 327.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#8E2490
RGBrgb(142, 36, 144)
HSLhsl(299, 60%, 35%)
HSVhsv(299, 75%, 56%)
CMYKcmyk(1.4%, 75%, 0%, 43.5%)
CIE-LABlab(36.04, 56.42, -36.30)
CIE-LCHlch(36.04, 67.09, 327.24°)
OKLaboklab(47.31% 0.1564 -0.1007)
OKLCHoklch(47.31% 0.186 327.2)
XYZxyz(16.8200, 9.0273, 27.2367)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2490 #269024
analogous
#582490 #8E2490 #90245C
triadic
#8E2490 #908E24 #24908E
tetradic
#8E2490 #905824 #269024 #245C90
square
#8E2490 #905824 #269024 #245C90
split-complementary
#8E2490 #5C9024 #249058
monochromatic
#2D0C2E #5E185F #8E2490 #BE30C1 #D359D5

Accessibility & contrast

On white

7.49
#8E2490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8E2490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2490
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2490#FFFFFF#000000##FFFFFF
##8E24901.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094C93
Deuteranopia (green-blind)
#40598D
Tritanopia (blue-blind)
#923658
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e2490;
/* rgb */ color: rgb(142, 36, 144);
/* oklch */ color: oklch(47.3% 0.186 327.2);
Tailwind
colors: {
  custom: {
    50: '#b36bb1',
    500: '#8e2490',
    950: '#000000',
  },
}
SCSS
$custom: #8e2490;
$custom-light: #b36bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2490",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 298.889,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47313,
    "c": 0.18606,
    "h": 327.2
  },
  "luminance": 0.09026
}

Semantic roles & 50–950 ramp

primary
#8E2490
secondary
#58BA56
accent
#E34548
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2490

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

Preview Lab → · Contrast checker → · Palette generator →

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