#8E1F9E#8E1F9E

#8E1F9E is a mid, highly saturated purple. Relative luminance 0.092; OKLCH L 47.8% C 0.202 H 322.2°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8E1F9E
RGBrgb(142, 31, 158)
HSLhsl(292, 67%, 37%)
HSVhsv(292, 80%, 62%)
CMYKcmyk(10.1%, 80.4%, 0%, 38%)
CIE-LABlab(36.37, 60.43, -44.30)
CIE-LCHlch(36.37, 74.93, 323.76°)
OKLaboklab(47.83% 0.1598 -0.124)
OKLCHoklch(47.83% 0.202 322.2)
XYZxyz(17.8162, 9.2004, 33.1786)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F9E #2F9E1F
analogous
#4F1F9E #8E1F9E #9E1F6F
triadic
#8E1F9E #9E8E1F #1F9E8E
tetradic
#8E1F9E #9E4F1F #2F9E1F #1F6F9E
square
#8E1F9E #9E4F1F #2F9E1F #1F6F9E
split-complementary
#8E1F9E #6F9E1F #1F9E4F
monochromatic
#320B38 #60156B #8E1F9E #BC29D1 #CE59DE

Accessibility & contrast

On white

7.39
#8E1F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8E1F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F9E
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F9E#FFFFFF#000000##FFFFFF
##8E1F9E1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#335A9B
Tritanopia (blue-blind)
#903A5F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e1f9e;
/* rgb */ color: rgb(142, 31, 158);
/* oklch */ color: oklch(47.8% 0.202 322.2);
Tailwind
colors: {
  custom: {
    50: '#b369bb',
    500: '#8e1f9e',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f9e;
$custom-light: #b369bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f9e",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 158
  },
  "hsl": {
    "h": 292.441,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47826,
    "c": 0.20227,
    "h": 322.2
  },
  "luminance": 0.09199
}

Semantic roles & 50–950 ramp

primary
#8E1F9E
secondary
#64C256
accent
#EA3E53
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8E1F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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