#8E249E#8E249E

#8E249E is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.198 H 322.0°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8E249E
RGBrgb(142, 36, 158)
HSLhsl(292, 63%, 38%)
HSVhsv(292, 77%, 62%)
CMYKcmyk(10.1%, 77.2%, 0%, 38%)
CIE-LABlab(36.90, 58.90, -43.45)
CIE-LCHlch(36.90, 73.19, 323.59°)
OKLaboklab(48.2% 0.1557 -0.1216)
OKLCHoklch(48.2% 0.198 322)
XYZxyz(17.9571, 9.4822, 33.2255)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E249E #349E24
analogous
#51249E #8E249E #9E2471
triadic
#8E249E #9E8E24 #249E8E
tetradic
#8E249E #9E5124 #349E24 #24719E
square
#8E249E #9E5124 #349E24 #24719E
split-complementary
#8E249E #719E24 #249E51
monochromatic
#340D3A #61196C #8E249E #BB2FD0 #CB61DB

Accessibility & contrast

On white

7.25
#8E249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E249E
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E249E#FFFFFF#000000##FFFFFF
##8E249E1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#365B9B
Tritanopia (blue-blind)
#903C60
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e249e;
/* rgb */ color: rgb(142, 36, 158);
/* oklch */ color: oklch(48.2% 0.198 322.0);
Tailwind
colors: {
  custom: {
    50: '#b36bbb',
    500: '#8e249e',
    950: '#000000',
  },
}
SCSS
$custom: #8e249e;
$custom-light: #b36bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e249e",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 292.131,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.482,
    "c": 0.19751,
    "h": 322
  },
  "luminance": 0.09481
}

Semantic roles & 50–950 ramp

primary
#8E249E
secondary
#6AC05E
accent
#E64257
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8E249E

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

Preview Lab → · Contrast checker → · Palette generator →

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