#9E248A#9E248A

#9E248A is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.190 H 335.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9E248A
RGBrgb(158, 36, 138)
HSLhsl(310, 63%, 38%)
HSVhsv(310, 77%, 62%)
CMYKcmyk(0%, 77.2%, 12.7%, 38%)
CIE-LABlab(38.49, 59.09, -28.55)
CIE-LCHlch(38.49, 65.63, 334.21°)
OKLaboklab(49.5% 0.1732 -0.0779)
OKLCHoklch(49.5% 0.19 335.8)
XYZxyz(19.3192, 10.3676, 25.0235)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E248A #249E38
analogous
#75249E #9E248A #9E244D
triadic
#9E248A #8A9E24 #248A9E
tetradic
#9E248A #9E7524 #249E38 #244D9E
square
#9E248A #9E7524 #249E38 #244D9E
split-complementary
#9E248A #4D9E24 #249E75
monochromatic
#3A0D33 #6C195E #9E248A #D02FB5 #DB61C7

Accessibility & contrast

On white

6.83
#9E248A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9E248A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E248A
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E248A#FFFFFF#000000##FFFFFF
##9E248A1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254F8D
Deuteranopia (green-blind)
#516187
Tritanopia (blue-blind)
#A62E55
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e248a;
/* rgb */ color: rgb(158, 36, 138);
/* oklch */ color: oklch(49.5% 0.190 335.8);
Tailwind
colors: {
  custom: {
    50: '#be6dac',
    500: '#9e248a',
    950: '#000000',
  },
}
SCSS
$custom: #9e248a;
$custom-light: #be6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#9e248a",
  "rgb": {
    "r": 158,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 309.836,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49498,
    "c": 0.18991,
    "h": 335.8
  },
  "luminance": 0.10366
}

Semantic roles & 50–950 ramp

primary
#9E248A
secondary
#5EC06E
accent
#E65D42
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E248A

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

Preview Lab → · Contrast checker → · Palette generator →

#9E248A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva