#8E2B9E#8E2B9E

#8E2B9E is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.190 H 321.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8E2B9E
RGBrgb(142, 43, 158)
HSLhsl(292, 57%, 39%)
HSVhsv(292, 73%, 62%)
CMYKcmyk(10.1%, 72.8%, 0%, 38%)
CIE-LABlab(37.75, 56.46, -42.08)
CIE-LCHlch(37.75, 70.42, 323.30°)
OKLaboklab(48.81% 0.1491 -0.1176)
OKLCHoklch(48.81% 0.19 321.7)
XYZxyz(18.1901, 9.9482, 33.3032)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2B9E #3B9E2B
analogous
#552B9E #8E2B9E #9E2B75
triadic
#8E2B9E #9E8E2B #2B9E8E
tetradic
#8E2B9E #9E552B #3B9E2B #2B759E
square
#8E2B9E #9E552B #3B9E2B #2B759E
split-complementary
#8E2B9E #759E2B #2B9E55
monochromatic
#38113E #631E6E #8E2B9E #B63CCA #C86CD7

Accessibility & contrast

On white

7.02
#8E2B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8E2B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2B9E
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2B9E#FFFFFF#000000##FFFFFF
##8E2B9E1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#3A5C9B
Tritanopia (blue-blind)
#8F4062
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e2b9e;
/* rgb */ color: rgb(142, 43, 158);
/* oklch */ color: oklch(48.8% 0.190 321.7);
Tailwind
colors: {
  custom: {
    50: '#b36ebb',
    500: '#8e2b9e',
    950: '#000000',
  },
}
SCSS
$custom: #8e2b9e;
$custom-light: #b36ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2b9e",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 158
  },
  "hsl": {
    "h": 291.652,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48807,
    "c": 0.18991,
    "h": 321.7
  },
  "luminance": 0.09947
}

Semantic roles & 50–950 ramp

primary
#8E2B9E
secondary
#73BE67
accent
#E0475D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E2B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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