#8E2792#8E2792

#8E2792 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.7% C 0.184 H 326.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8E2792
RGBrgb(142, 39, 146)
HSLhsl(298, 58%, 36%)
HSVhsv(298, 73%, 57%)
CMYKcmyk(2.7%, 73.3%, 0%, 42.7%)
CIE-LABlab(36.51, 55.74, -36.76)
CIE-LCHlch(36.51, 66.77, 326.59°)
OKLaboklab(47.69% 0.1535 -0.1021)
OKLCHoklch(47.69% 0.184 326.4)
XYZxyz(17.0688, 9.2783, 28.0804)
Luminance0.0928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2792 #2B9227
analogous
#592792 #8E2792 #922761
triadic
#8E2792 #928E27 #27928E
tetradic
#8E2792 #925927 #2B9227 #276192
square
#8E2792 #925927 #2B9227 #276192
split-complementary
#8E2792 #619227 #279259
monochromatic
#300D31 #5F1A62 #8E2792 #BD34C2 #D05FD4

Accessibility & contrast

On white

7.35
#8E2792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8E2792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2792
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2792#FFFFFF#000000##FFFFFF
##8E27921.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4E95
Deuteranopia (green-blind)
#405A8F
Tritanopia (blue-blind)
#92385A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e2792;
/* rgb */ color: rgb(142, 39, 146);
/* oklch */ color: oklch(47.7% 0.184 326.4);
Tailwind
colors: {
  custom: {
    50: '#b26cb2',
    500: '#8e2792',
    950: '#000000',
  },
}
SCSS
$custom: #8e2792;
$custom-light: #b26cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2792",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 297.757,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47692,
    "c": 0.18437,
    "h": 326.4
  },
  "luminance": 0.09277
}

Semantic roles & 50–950 ramp

primary
#8E2792
secondary
#5FBA5B
accent
#E1474C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2792

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

Preview Lab → · Contrast checker → · Palette generator →

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