#8E1F94#8E1F94

#8E1F94 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.194 H 325.8°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#8E1F94
RGBrgb(142, 31, 148)
HSLhsl(297, 65%, 35%)
HSVhsv(297, 79%, 58%)
CMYKcmyk(4.1%, 79.1%, 0%, 42%)
CIE-LABlab(35.73, 58.67, -39.23)
CIE-LCHlch(35.73, 70.58, 326.23°)
OKLaboklab(47.17% 0.1607 -0.1092)
OKLCHoklch(47.17% 0.194 325.8)
XYZxyz(16.9903, 8.8700, 28.8284)
Luminance0.0887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F94 #25941F
analogous
#531F94 #8E1F94 #941F60
triadic
#8E1F94 #948E1F #1F948E
tetradic
#8E1F94 #94531F #25941F #1F6094
square
#8E1F94 #94531F #25941F #1F6094
split-complementary
#8E1F94 #60941F #1F9453
monochromatic
#2D0A2F #5D1461 #8E1F94 #BF2AC7 #D453DB

Accessibility & contrast

On white

7.57
#8E1F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1F94
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F94#FFFFFF#000000##FFFFFF
##8E1F941.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#3B5991
Tritanopia (blue-blind)
#923559
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e1f94;
/* rgb */ color: rgb(142, 31, 148);
/* oklch */ color: oklch(47.2% 0.194 325.8);
Tailwind
colors: {
  custom: {
    50: '#b369b4',
    500: '#8e1f94',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f94;
$custom-light: #b369b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f94",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 296.923,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47173,
    "c": 0.19428,
    "h": 325.8
  },
  "luminance": 0.08869
}

Semantic roles & 50–950 ramp

primary
#8E1F94
secondary
#56BE51
accent
#E83F48
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E1F94

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

Preview Lab → · Contrast checker → · Palette generator →

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