#8E249F#8E249F

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

Color values

HEX#8E249F
RGBrgb(142, 36, 159)
HSLhsl(292, 63%, 38%)
HSVhsv(292, 77%, 62%)
CMYKcmyk(10.7%, 77.4%, 0%, 37.6%)
CIE-LABlab(36.96, 59.08, -43.95)
CIE-LCHlch(36.96, 73.64, 323.36°)
OKLaboklab(48.27% 0.1556 -0.123)
OKLCHoklch(48.27% 0.198 321.7)
XYZxyz(18.0435, 9.5168, 33.6807)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E249F #359F24
analogous
#50249F #8E249F #9F2472
triadic
#8E249F #9F8E24 #249F8E
tetradic
#8E249F #9F5024 #359F24 #24729F
square
#8E249F #9F5024 #359F24 #24729F
split-complementary
#8E249F #729F24 #249F50
monochromatic
#350D3B #61196D #8E249F #BA30D0 #CB62DB

Accessibility & contrast

On white

7.23
#8E249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E249F
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E249F#FFFFFF#000000##FFFFFF
##8E249F1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#355B9C
Tritanopia (blue-blind)
#8F3D61
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e249f;
/* rgb */ color: rgb(142, 36, 159);
/* oklch */ color: oklch(48.3% 0.198 321.7);
Tailwind
colors: {
  custom: {
    50: '#b36bbc',
    500: '#8e249f',
    950: '#000000',
  },
}
SCSS
$custom: #8e249f;
$custom-light: #b36bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e249f",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 291.707,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48266,
    "c": 0.19835,
    "h": 321.7
  },
  "luminance": 0.09516
}

Semantic roles & 50–950 ramp

primary
#8E249F
secondary
#6CC15E
accent
#E64258
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8E249F

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

Preview Lab → · Contrast checker → · Palette generator →

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