#8E1F93#8E1F93

#8E1F93 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.1% C 0.193 H 326.2°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#8E1F93
RGBrgb(142, 31, 147)
HSLhsl(297, 65%, 35%)
HSVhsv(297, 79%, 58%)
CMYKcmyk(3.4%, 78.9%, 0%, 42.4%)
CIE-LABlab(35.67, 58.50, -38.72)
CIE-LCHlch(35.67, 70.15, 326.50°)
OKLaboklab(47.11% 0.1607 -0.1077)
OKLCHoklch(47.11% 0.193 326.2)
XYZxyz(16.9114, 8.8385, 28.4134)
Luminance0.0884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F93 #24931F
analogous
#541F93 #8E1F93 #931F5E
triadic
#8E1F93 #938E1F #1F938E
tetradic
#8E1F93 #93541F #24931F #1F5E93
square
#8E1F93 #93541F #24931F #1F5E93
split-complementary
#8E1F93 #5E931F #1F9354
monochromatic
#2C0A2E #5D1460 #8E1F93 #BF2AC6 #D552DA

Accessibility & contrast

On white

7.59
#8E1F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8E1F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F93
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F93#FFFFFF#000000##FFFFFF
##8E1F931.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#3C5990
Tritanopia (blue-blind)
#923459
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e1f93;
/* rgb */ color: rgb(142, 31, 147);
/* oklch */ color: oklch(47.1% 0.193 326.2);
Tailwind
colors: {
  custom: {
    50: '#b369b3',
    500: '#8e1f93',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f93;
$custom-light: #b369b3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f93",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 297.414,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4711,
    "c": 0.19349,
    "h": 326.2
  },
  "luminance": 0.08837
}

Semantic roles & 50–950 ramp

primary
#8E1F93
secondary
#55BE50
accent
#E84047
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E1F93

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

Preview Lab → · Contrast checker → · Palette generator →

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