#9E248E#9E248E

#9E248E is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.193 H 334.1°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9E248E
RGBrgb(158, 36, 142)
HSLhsl(308, 63%, 38%)
HSVhsv(308, 77%, 62%)
CMYKcmyk(0%, 77.2%, 10.1%, 38%)
CIE-LABlab(38.70, 59.69, -30.68)
CIE-LCHlch(38.70, 67.12, 332.80°)
OKLaboklab(49.71% 0.1734 -0.0841)
OKLCHoklch(49.71% 0.193 334.1)
XYZxyz(19.6141, 10.4856, 26.5768)
Luminance0.1048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E248E #249E34
analogous
#71249E #9E248E #9E2451
triadic
#9E248E #8E9E24 #248E9E
tetradic
#9E248E #9E7124 #249E34 #24519E
square
#9E248E #9E7124 #249E34 #24519E
split-complementary
#9E248E #519E24 #249E71
monochromatic
#3A0D34 #6C1961 #9E248E #D02FBB #DB61CB

Accessibility & contrast

On white

6.78
#9E248E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9E248E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E248E
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E248E#FFFFFF#000000##FFFFFF
##9E248E1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215091
Deuteranopia (green-blind)
#4F618B
Tritanopia (blue-blind)
#A63057
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e248e;
/* rgb */ color: rgb(158, 36, 142);
/* oklch */ color: oklch(49.7% 0.193 334.1);
Tailwind
colors: {
  custom: {
    50: '#be6daf',
    500: '#9e248e',
    950: '#000000',
  },
}
SCSS
$custom: #9e248e;
$custom-light: #be6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e248e",
  "rgb": {
    "r": 158,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 307.869,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49713,
    "c": 0.19274,
    "h": 334.1
  },
  "luminance": 0.10484
}

Semantic roles & 50–950 ramp

primary
#9E248E
secondary
#5EC06A
accent
#E65742
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E248E

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

Preview Lab → · Contrast checker → · Palette generator →

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