#8E248A#8E248A

#8E248A is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.0% C 0.181 H 329.6°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#8E248A
RGBrgb(142, 36, 138)
HSLhsl(302, 60%, 35%)
HSVhsv(302, 75%, 56%)
CMYKcmyk(0%, 74.6%, 2.8%, 44.3%)
CIE-LABlab(35.69, 55.40, -33.16)
CIE-LCHlch(35.69, 64.56, 329.10°)
OKLaboklab(46.95% 0.1564 -0.0916)
OKLCHoklch(46.95% 0.181 329.6)
XYZxyz(16.3735, 8.8488, 24.8854)
Luminance0.0885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E248A #248E28
analogous
#5D248E #8E248A #8E2455
triadic
#8E248A #8A8E24 #248A8E
tetradic
#8E248A #8E5D24 #248E28 #24558E
square
#8E248A #8E5D24 #248E28 #24558E
split-complementary
#8E248A #558E24 #248E5D
monochromatic
#2C0B2B #5D185B #8E248A #BF30B9 #D558D0

Accessibility & contrast

On white

7.58
#8E248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E248A
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E248A#FFFFFF#000000##FFFFFF
##8E248A1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154B8D
Deuteranopia (green-blind)
#435987
Tritanopia (blue-blind)
#933355
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e248a;
/* rgb */ color: rgb(142, 36, 138);
/* oklch */ color: oklch(47.0% 0.181 329.6);
Tailwind
colors: {
  custom: {
    50: '#b26aac',
    500: '#8e248a',
    950: '#000000',
  },
}
SCSS
$custom: #8e248a;
$custom-light: #b26aac;
$custom-dark: #000000;
JSON
{
  "hex": "#8e248a",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 302.264,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46954,
    "c": 0.18128,
    "h": 329.6
  },
  "luminance": 0.08848
}

Semantic roles & 50–950 ramp

primary
#8E248A
secondary
#55B959
accent
#E34B45
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E248A

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

Preview Lab → · Contrast checker → · Palette generator →

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