#8E2D90#8E2D90

#8E2D90 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.1% C 0.175 H 327.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8E2D90
RGBrgb(142, 45, 144)
HSLhsl(299, 52%, 37%)
HSVhsv(299, 69%, 56%)
CMYKcmyk(1.4%, 68.7%, 0%, 43.5%)
CIE-LABlab(37.19, 53.14, -34.46)
CIE-LCHlch(37.19, 63.33, 327.03°)
OKLaboklab(48.14% 0.1472 -0.0955)
OKLCHoklch(48.14% 0.175 327)
XYZxyz(17.1275, 9.6423, 27.3392)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2D90 #2F902D
analogous
#5D2D90 #8E2D90 #902D61
triadic
#8E2D90 #908E2D #2D908E
tetradic
#8E2D90 #905D2D #2F902D #2D6190
square
#8E2D90 #905D2D #2F902D #2D6190
split-complementary
#8E2D90 #61902D #2D905D
monochromatic
#321033 #601E61 #8E2D90 #BC3CBF #CE68D0

Accessibility & contrast

On white

7.17
#8E2D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8E2D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2D90
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2D90#FFFFFF#000000##FFFFFF
##8E2D901.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5093
Deuteranopia (green-blind)
#445C8D
Tritanopia (blue-blind)
#923B5B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e2d90;
/* rgb */ color: rgb(142, 45, 144);
/* oklch */ color: oklch(48.1% 0.175 327.0);
Tailwind
colors: {
  custom: {
    50: '#b26fb1',
    500: '#8e2d90',
    950: '#000000',
  },
}
SCSS
$custom: #8e2d90;
$custom-light: #b26fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2d90",
  "rgb": {
    "r": 142,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 298.788,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48141,
    "c": 0.17545,
    "h": 327
  },
  "luminance": 0.09641
}

Semantic roles & 50–950 ramp

primary
#8E2D90
secondary
#64B662
accent
#DC4C4F
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #8E2D90

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

Preview Lab → · Contrast checker → · Palette generator →

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