#8E2B93#8E2B93

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

Color values

HEX#8E2B93
RGBrgb(142, 43, 147)
HSLhsl(297, 55%, 37%)
HSVhsv(297, 71%, 58%)
CMYKcmyk(3.4%, 70.7%, 0%, 42.4%)
CIE-LABlab(37.09, 54.45, -36.46)
CIE-LCHlch(37.09, 65.53, 326.19°)
OKLaboklab(48.12% 0.1494 -0.1012)
OKLCHoklch(48.12% 0.18 325.9)
XYZxyz(17.2853, 9.5862, 28.5380)
Luminance0.0959 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2B93 #30932B
analogous
#5A2B93 #8E2B93 #932B64
triadic
#8E2B93 #938E2B #2B938E
tetradic
#8E2B93 #935A2B #30932B #2B6493
square
#8E2B93 #935A2B #30932B #2B6493
split-complementary
#8E2B93 #64932B #2B935A
monochromatic
#330F34 #601D64 #8E2B93 #BC39C2 #CD66D2

Accessibility & contrast

On white

7.20
#8E2B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8E2B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2B93
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2B93#FFFFFF#000000##FFFFFF
##8E2B931.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e2b93;
/* rgb */ color: rgb(142, 43, 147);
/* oklch */ color: oklch(48.1% 0.180 325.9);
Tailwind
colors: {
  custom: {
    50: '#b26eb3',
    500: '#8e2b93',
    950: '#000000',
  },
}
SCSS
$custom: #8e2b93;
$custom-light: #b26eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2b93",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 147
  },
  "hsl": {
    "h": 297.115,
    "s": 54.737,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48123,
    "c": 0.18049,
    "h": 325.9
  },
  "luminance": 0.09585
}

Semantic roles & 50–950 ramp

primary
#8E2B93
secondary
#65B961
accent
#DE4A51
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E2B93

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

Preview Lab → · Contrast checker → · Palette generator →

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