#8E2A93#8E2A93

#8E2A93 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.0% C 0.182 H 325.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8E2A93
RGBrgb(142, 42, 147)
HSLhsl(297, 56%, 37%)
HSVhsv(297, 71%, 58%)
CMYKcmyk(3.4%, 71.4%, 0%, 42.4%)
CIE-LABlab(36.96, 54.82, -36.67)
CIE-LCHlch(36.96, 65.96, 326.22°)
OKLaboklab(48.03% 0.1505 -0.1018)
OKLCHoklch(48.03% 0.182 325.9)
XYZxyz(17.2494, 9.5144, 28.5260)
Luminance0.0951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2A93 #2F932A
analogous
#5A2A93 #8E2A93 #932A64
triadic
#8E2A93 #938E2A #2A938E
tetradic
#8E2A93 #935A2A #2F932A #2A6493
square
#8E2A93 #935A2A #2F932A #2A6493
split-complementary
#8E2A93 #64932A #2A935A
monochromatic
#320F34 #601C63 #8E2A93 #BC38C3 #CE65D3

Accessibility & contrast

On white

7.23
#8E2A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8E2A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2A93
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2A93#FFFFFF#000000##FFFFFF
##8E2A931.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114F96
Deuteranopia (green-blind)
#415B90
Tritanopia (blue-blind)
#923B5C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e2a93;
/* rgb */ color: rgb(142, 42, 147);
/* oklch */ color: oklch(48.0% 0.182 325.9);
Tailwind
colors: {
  custom: {
    50: '#b26db3',
    500: '#8e2a93',
    950: '#000000',
  },
}
SCSS
$custom: #8e2a93;
$custom-light: #b26db3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2a93",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 297.143,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48027,
    "c": 0.1817,
    "h": 325.9
  },
  "luminance": 0.09513
}

Semantic roles & 50–950 ramp

primary
#8E2A93
secondary
#64B960
accent
#DF4950
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E2A93

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

Preview Lab → · Contrast checker → · Palette generator →

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