#9E248B#9E248B

#9E248B is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.191 H 335.4°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9E248B
RGBrgb(158, 36, 139)
HSLhsl(309, 63%, 38%)
HSVhsv(309, 77%, 62%)
CMYKcmyk(0%, 77.2%, 12%, 38%)
CIE-LABlab(38.55, 59.24, -29.09)
CIE-LCHlch(38.55, 66.00, 333.85°)
OKLaboklab(49.55% 0.1732 -0.0795)
OKLCHoklch(49.55% 0.191 335.4)
XYZxyz(19.3919, 10.3967, 25.4066)
Luminance0.1040 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E248B #249E37
analogous
#74249E #9E248B #9E244E
triadic
#9E248B #8B9E24 #248B9E
tetradic
#9E248B #9E7424 #249E37 #244E9E
square
#9E248B #9E7424 #249E37 #244E9E
split-complementary
#9E248B #4E9E24 #249E74
monochromatic
#3A0D33 #6C195F #9E248B #D02FB7 #DB61C8

Accessibility & contrast

On white

6.82
#9E248B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9E248B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E248B
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E248B#FFFFFF#000000##FFFFFF
##9E248B1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244F8E
Deuteranopia (green-blind)
#516188
Tritanopia (blue-blind)
#A62E56
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e248b;
/* rgb */ color: rgb(158, 36, 139);
/* oklch */ color: oklch(49.6% 0.191 335.4);
Tailwind
colors: {
  custom: {
    50: '#be6dad',
    500: '#9e248b',
    950: '#000000',
  },
}
SCSS
$custom: #9e248b;
$custom-light: #be6dad;
$custom-dark: #000000;
JSON
{
  "hex": "#9e248b",
  "rgb": {
    "r": 158,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 309.344,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49551,
    "c": 0.19061,
    "h": 335.4
  },
  "luminance": 0.10395
}

Semantic roles & 50–950 ramp

primary
#9E248B
secondary
#5EC06D
accent
#E65B42
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E248B

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

Preview Lab → · Contrast checker → · Palette generator →

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