#8E249A#8E249A

#8E249A is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.194 H 323.4°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8E249A
RGBrgb(142, 36, 154)
HSLhsl(294, 62%, 37%)
HSVhsv(294, 77%, 60%)
CMYKcmyk(7.8%, 76.6%, 0%, 39.6%)
CIE-LABlab(36.64, 58.18, -41.43)
CIE-LCHlch(36.64, 71.42, 324.54°)
OKLaboklab(47.94% 0.156 -0.1157)
OKLCHoklch(47.94% 0.194 323.4)
XYZxyz(17.6184, 9.3467, 31.4417)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E249A #309A24
analogous
#53249A #8E249A #9A246B
triadic
#8E249A #9A8E24 #249A8E
tetradic
#8E249A #9A5324 #309A24 #246B9A
square
#8E249A #9A5324 #309A24 #246B9A
split-complementary
#8E249A #6B9A24 #249A53
monochromatic
#330D37 #601868 #8E249A #BC30CC #CD5FDA

Accessibility & contrast

On white

7.32
#8E249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8E249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E249A
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E249A#FFFFFF#000000##FFFFFF
##8E249A1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#395A97
Tritanopia (blue-blind)
#903A5E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e249a;
/* rgb */ color: rgb(142, 36, 154);
/* oklch */ color: oklch(47.9% 0.194 323.4);
Tailwind
colors: {
  custom: {
    50: '#b36bb8',
    500: '#8e249a',
    950: '#000000',
  },
}
SCSS
$custom: #8e249a;
$custom-light: #b36bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e249a",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 293.898,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4794,
    "c": 0.1942,
    "h": 323.4
  },
  "luminance": 0.09346
}

Semantic roles & 50–950 ramp

primary
#8E249A
secondary
#65BF5B
accent
#E54353
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E249A

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

Preview Lab → · Contrast checker → · Palette generator →

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