#8E248F#8E248F

#8E248F is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.185 H 327.6°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8E248F
RGBrgb(142, 36, 143)
HSLhsl(299, 60%, 35%)
HSVhsv(299, 75%, 56%)
CMYKcmyk(0.7%, 74.8%, 0%, 43.9%)
CIE-LABlab(35.98, 56.25, -35.78)
CIE-LCHlch(35.98, 66.66, 327.54°)
OKLaboklab(47.25% 0.1565 -0.0992)
OKLCHoklch(47.25% 0.185 327.6)
XYZxyz(16.7439, 8.9969, 26.8360)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E248F #258F24
analogous
#58248F #8E248F #8F245B
triadic
#8E248F #8F8E24 #248F8E
tetradic
#8E248F #8F5824 #258F24 #245B8F
square
#8E248F #8F5824 #258F24 #245B8F
split-complementary
#8E248F #5B8F24 #248F58
monochromatic
#2D0B2D #5D185E #8E248F #BF30C0 #D458D5

Accessibility & contrast

On white

7.50
#8E248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8E248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E248F
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E248F#FFFFFF#000000##FFFFFF
##8E248F1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4C92
Deuteranopia (green-blind)
#40598C
Tritanopia (blue-blind)
#923558
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e248f;
/* rgb */ color: rgb(142, 36, 143);
/* oklch */ color: oklch(47.3% 0.185 327.6);
Tailwind
colors: {
  custom: {
    50: '#b36bb0',
    500: '#8e248f',
    950: '#000000',
  },
}
SCSS
$custom: #8e248f;
$custom-light: #b36bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e248f",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 299.439,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47252,
    "c": 0.18525,
    "h": 327.6
  },
  "luminance": 0.08996
}

Semantic roles & 50–950 ramp

primary
#8E248F
secondary
#56B955
accent
#E34546
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E248F

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

Preview Lab → · Contrast checker → · Palette generator →

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