#8E248D#8E248D

#8E248D is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.1% C 0.184 H 328.4°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#8E248D
RGBrgb(142, 36, 141)
HSLhsl(301, 60%, 35%)
HSVhsv(301, 75%, 56%)
CMYKcmyk(0%, 74.6%, 0.7%, 44.3%)
CIE-LABlab(35.86, 55.91, -34.73)
CIE-LCHlch(35.86, 65.82, 328.15°)
OKLaboklab(47.13% 0.1565 -0.0962)
OKLCHoklch(47.13% 0.184 328.4)
XYZxyz(16.5937, 8.9368, 26.0451)
Luminance0.0894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E248D #248E25
analogous
#5A248E #8E248D #8E2458
triadic
#8E248D #8D8E24 #248D8E
tetradic
#8E248D #8E5A24 #248E25 #24588E
square
#8E248D #8E5A24 #248E25 #24588E
split-complementary
#8E248D #588E24 #248E5A
monochromatic
#2C0B2C #5D185D #8E248D #BF30BD #D558D3

Accessibility & contrast

On white

7.53
#8E248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8E248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E248D
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E248D#FFFFFF#000000##FFFFFF
##8E248D1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104B90
Deuteranopia (green-blind)
#42598A
Tritanopia (blue-blind)
#933457
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e248d;
/* rgb */ color: rgb(142, 36, 141);
/* oklch */ color: oklch(47.1% 0.184 328.4);
Tailwind
colors: {
  custom: {
    50: '#b36baf',
    500: '#8e248d',
    950: '#000000',
  },
}
SCSS
$custom: #8e248d;
$custom-light: #b36baf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e248d",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 300.566,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47132,
    "c": 0.18367,
    "h": 328.4
  },
  "luminance": 0.08936
}

Semantic roles & 50–950 ramp

primary
#8E248D
secondary
#55B956
accent
#E34745
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E248D

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

Preview Lab → · Contrast checker → · Palette generator →

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