#8E249B#8E249B

#8E249B is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.195 H 323.1°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#8E249B
RGBrgb(142, 36, 155)
HSLhsl(293, 62%, 37%)
HSVhsv(293, 77%, 61%)
CMYKcmyk(8.4%, 76.8%, 0%, 39.2%)
CIE-LABlab(36.71, 58.36, -41.94)
CIE-LCHlch(36.71, 71.86, 324.30°)
OKLaboklab(48% 0.1559 -0.1172)
OKLCHoklch(48% 0.195 323.1)
XYZxyz(17.7020, 9.3802, 31.8821)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E249B #319B24
analogous
#52249B #8E249B #9B246D
triadic
#8E249B #9B8E24 #249B8E
tetradic
#8E249B #9B5224 #319B24 #246D9B
square
#8E249B #9B5224 #319B24 #246D9B
split-complementary
#8E249B #6D9B24 #249B52
monochromatic
#330D38 #611869 #8E249B #BB30CD #CD5FDA

Accessibility & contrast

On white

7.30
#8E249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8E249B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E249B
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E249B#FFFFFF#000000##FFFFFF
##8E249B1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#385A98
Tritanopia (blue-blind)
#903B5E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e249b;
/* rgb */ color: rgb(142, 36, 155);
/* oklch */ color: oklch(48.0% 0.195 323.1);
Tailwind
colors: {
  custom: {
    50: '#b36bb9',
    500: '#8e249b',
    950: '#000000',
  },
}
SCSS
$custom: #8e249b;
$custom-light: #b36bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e249b",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 293.445,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48004,
    "c": 0.19502,
    "h": 323.1
  },
  "luminance": 0.09379
}

Semantic roles & 50–950 ramp

primary
#8E249B
secondary
#67BF5C
accent
#E54254
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E249B

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

Preview Lab → · Contrast checker → · Palette generator →

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