#8E249D#8E249D

#8E249D is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.1% C 0.197 H 322.4°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8E249D
RGBrgb(142, 36, 157)
HSLhsl(293, 63%, 38%)
HSVhsv(293, 77%, 62%)
CMYKcmyk(9.6%, 77.1%, 0%, 38.4%)
CIE-LABlab(36.83, 58.72, -42.94)
CIE-LCHlch(36.83, 72.75, 323.82°)
OKLaboklab(48.14% 0.1558 -0.1201)
OKLCHoklch(48.14% 0.197 322.4)
XYZxyz(17.8714, 9.4479, 32.7741)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E249D #339D24
analogous
#51249D #8E249D #9D246F
triadic
#8E249D #9D8E24 #249D8E
tetradic
#8E249D #9D5124 #339D24 #246F9D
square
#8E249D #9D5124 #339D24 #246F9D
split-complementary
#8E249D #6F9D24 #249D51
monochromatic
#340D39 #61196B #8E249D #BB2FCF #CC61DB

Accessibility & contrast

On white

7.27
#8E249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8E249D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E249D
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E249D#FFFFFF#000000##FFFFFF
##8E249D1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#375B9A
Tritanopia (blue-blind)
#903C60
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e249d;
/* rgb */ color: rgb(142, 36, 157);
/* oklch */ color: oklch(48.1% 0.197 322.4);
Tailwind
colors: {
  custom: {
    50: '#b36bba',
    500: '#8e249d',
    950: '#000000',
  },
}
SCSS
$custom: #8e249d;
$custom-light: #b36bba;
$custom-dark: #000000;
JSON
{
  "hex": "#8e249d",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 292.562,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48135,
    "c": 0.19668,
    "h": 322.4
  },
  "luminance": 0.09447
}

Semantic roles & 50–950 ramp

primary
#8E249D
secondary
#69C05D
accent
#E64256
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8E249D

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

Preview Lab → · Contrast checker → · Palette generator →

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