#8E2799#8E2799

#8E2799 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.190 H 323.7°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8E2799
RGBrgb(142, 39, 153)
HSLhsl(294, 59%, 38%)
HSVhsv(294, 75%, 60%)
CMYKcmyk(7.2%, 74.5%, 0%, 40%)
CIE-LABlab(36.93, 56.98, -40.36)
CIE-LCHlch(36.93, 69.83, 324.69°)
OKLaboklab(48.13% 0.1533 -0.1126)
OKLCHoklch(48.13% 0.19 323.7)
XYZxyz(17.6301, 9.5028, 31.0364)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2799 #329927
analogous
#552799 #8E2799 #99276B
triadic
#8E2799 #998E27 #27998E
tetradic
#8E2799 #995527 #329927 #276B99
square
#8E2799 #995527 #329927 #276B99
split-complementary
#8E2799 #6B9927 #279955
monochromatic
#330E37 #611B68 #8E2799 #BB33CA #CC63D7

Accessibility & contrast

On white

7.24
#8E2799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8E2799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2799
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2799#FFFFFF#000000##FFFFFF
##8E27991.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#3B5B96
Tritanopia (blue-blind)
#913C5E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e2799;
/* rgb */ color: rgb(142, 39, 153);
/* oklch */ color: oklch(48.1% 0.190 323.7);
Tailwind
colors: {
  custom: {
    50: '#b36cb7',
    500: '#8e2799',
    950: '#000000',
  },
}
SCSS
$custom: #8e2799;
$custom-light: #b36cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2799",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 294.211,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48127,
    "c": 0.19018,
    "h": 323.7
  },
  "luminance": 0.09502
}

Semantic roles & 50–950 ramp

primary
#8E2799
secondary
#68BD5F
accent
#E34554
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E2799

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

Preview Lab → · Contrast checker → · Palette generator →

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