#8E2E90#8E2E90

#8E2E90 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.2% C 0.174 H 327.0°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#8E2E90
RGBrgb(142, 46, 144)
HSLhsl(299, 52%, 37%)
HSVhsv(299, 68%, 56%)
CMYKcmyk(1.4%, 68.1%, 0%, 43.5%)
CIE-LABlab(37.33, 52.74, -34.24)
CIE-LCHlch(37.33, 62.88, 327.01°)
OKLaboklab(48.24% 0.1461 -0.0948)
OKLCHoklch(48.24% 0.174 327)
XYZxyz(17.1661, 9.7195, 27.3521)
Luminance0.0972 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2E90 #30902E
analogous
#5D2E90 #8E2E90 #902E61
triadic
#8E2E90 #908E2E #2E908E
tetradic
#8E2E90 #905D2E #30902E #2E6190
square
#8E2E90 #905D2E #30902E #2E6190
split-complementary
#8E2E90 #61902E #2E905D
monochromatic
#331033 #601F62 #8E2E90 #BC3DBE #CD69CF

Accessibility & contrast

On white

7.13
#8E2E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8E2E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2E90
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2E90#FFFFFF#000000##FFFFFF
##8E2E901.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5093
Deuteranopia (green-blind)
#455C8D
Tritanopia (blue-blind)
#923C5B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8e2e90;
/* rgb */ color: rgb(142, 46, 144);
/* oklch */ color: oklch(48.2% 0.174 327.0);
Tailwind
colors: {
  custom: {
    50: '#b26fb1',
    500: '#8e2e90',
    950: '#000000',
  },
}
SCSS
$custom: #8e2e90;
$custom-light: #b26fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2e90",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 298.776,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48243,
    "c": 0.17416,
    "h": 327
  },
  "luminance": 0.09718
}

Semantic roles & 50–950 ramp

primary
#8E2E90
secondary
#65B664
accent
#DB4D50
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #8E2E90

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

Preview Lab → · Contrast checker → · Palette generator →

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