#8E2E99#8E2E99

#8E2E99 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.182 H 323.4°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8E2E99
RGBrgb(142, 46, 153)
HSLhsl(294, 54%, 39%)
HSVhsv(294, 70%, 60%)
CMYKcmyk(7.2%, 69.9%, 0%, 40%)
CIE-LABlab(37.85, 54.38, -38.89)
CIE-LCHlch(37.85, 66.85, 324.43°)
OKLaboklab(48.78% 0.1462 -0.1083)
OKLCHoklch(48.78% 0.182 323.4)
XYZxyz(17.8816, 10.0057, 31.1203)
Luminance0.1001 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2E99 #39992E
analogous
#592E99 #8E2E99 #992E6F
triadic
#8E2E99 #998E2E #2E998E
tetradic
#8E2E99 #99592E #39992E #2E6F99
square
#8E2E99 #99592E #39992E #2E6F99
split-complementary
#8E2E99 #6F992E #2E9959
monochromatic
#37123B #62206A #8E2E99 #B73FC5 #C96ED3

Accessibility & contrast

On white

7.00
#8E2E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8E2E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2E99
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2E99#FFFFFF#000000##FFFFFF
##8E2E991.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F529C
Deuteranopia (green-blind)
#3F5D96
Tritanopia (blue-blind)
#904060
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e2e99;
/* rgb */ color: rgb(142, 46, 153);
/* oklch */ color: oklch(48.8% 0.182 323.4);
Tailwind
colors: {
  custom: {
    50: '#b26fb7',
    500: '#8e2e99',
    950: '#000000',
  },
}
SCSS
$custom: #8e2e99;
$custom-light: #b26fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2e99",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 293.832,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48784,
    "c": 0.18193,
    "h": 323.4
  },
  "luminance": 0.10005
}

Semantic roles & 50–950 ramp

primary
#8E2E99
secondary
#71BB68
accent
#DD4B5A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E2E99

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

Preview Lab → · Contrast checker → · Palette generator →

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