#8E248E#8E248E

#8E248E is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.2% C 0.184 H 328.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#8E248E
RGBrgb(142, 36, 142)
HSLhsl(300, 60%, 35%)
HSVhsv(300, 75%, 56%)
CMYKcmyk(0%, 74.6%, 0%, 44.3%)
CIE-LABlab(35.92, 56.08, -35.26)
CIE-LCHlch(35.92, 66.24, 327.84°)
OKLaboklab(47.19% 0.1565 -0.0977)
OKLCHoklch(47.19% 0.184 328)
XYZxyz(16.6685, 8.9667, 26.4388)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E248E #248E24
analogous
#59248E #8E248E #8E2459
triadic
#8E248E #8E8E24 #248E8E
tetradic
#8E248E #8E5924 #248E24 #24598E
square
#8E248E #8E5924 #248E24 #24598E
split-complementary
#8E248E #598E24 #248E59
monochromatic
#2C0B2C #5D185D #8E248E #BF30BF #D558D5

Accessibility & contrast

On white

7.52
#8E248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E248E
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E248E#FFFFFF#000000##FFFFFF
##8E248E1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4C91
Deuteranopia (green-blind)
#41598B
Tritanopia (blue-blind)
#933557
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e248e;
/* rgb */ color: rgb(142, 36, 142);
/* oklch */ color: oklch(47.2% 0.184 328.0);
Tailwind
colors: {
  custom: {
    50: '#b36baf',
    500: '#8e248e',
    950: '#000000',
  },
}
SCSS
$custom: #8e248e;
$custom-light: #b36baf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e248e",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 300,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47192,
    "c": 0.18445,
    "h": 328
  },
  "luminance": 0.08966
}

Semantic roles & 50–950 ramp

primary
#8E248E
secondary
#55B955
accent
#E34545
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E248E

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

Preview Lab → · Contrast checker → · Palette generator →

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