#8E2F99#8E2F99

#8E2F99 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.9% C 0.181 H 323.4°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8E2F99
RGBrgb(142, 47, 153)
HSLhsl(294, 53%, 39%)
HSVhsv(294, 69%, 60%)
CMYKcmyk(7.2%, 69.3%, 0%, 40%)
CIE-LABlab(37.99, 53.98, -38.67)
CIE-LCHlch(37.99, 66.40, 324.38°)
OKLaboklab(48.89% 0.1451 -0.1077)
OKLCHoklch(48.89% 0.181 323.4)
XYZxyz(17.9211, 10.0848, 31.1334)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2F99 #3A992F
analogous
#592F99 #8E2F99 #992F6F
triadic
#8E2F99 #998E2F #2F998E
tetradic
#8E2F99 #99592F #3A992F #2F6F99
square
#8E2F99 #99592F #3A992F #2F6F99
split-complementary
#8E2F99 #6F992F #2F9959
monochromatic
#37123B #63216A #8E2F99 #B741C5 #C96FD3

Accessibility & contrast

On white

6.96
#8E2F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8E2F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2F99
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2F99#FFFFFF#000000##FFFFFF
##8E2F991.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12529C
Deuteranopia (green-blind)
#405D96
Tritanopia (blue-blind)
#904160
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e2f99;
/* rgb */ color: rgb(142, 47, 153);
/* oklch */ color: oklch(48.9% 0.181 323.4);
Tailwind
colors: {
  custom: {
    50: '#b270b7',
    500: '#8e2f99',
    950: '#000000',
  },
}
SCSS
$custom: #8e2f99;
$custom-light: #b270b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2f99",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 293.774,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48885,
    "c": 0.18067,
    "h": 323.4
  },
  "luminance": 0.10084
}

Semantic roles & 50–950 ramp

primary
#8E2F99
secondary
#72BA69
accent
#DC4B5A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E2F99

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

Preview Lab → · Contrast checker → · Palette generator →

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