#9E2498#9E2498

#9E2498 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.200 H 330.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9E2498
RGBrgb(158, 36, 152)
HSLhsl(303, 63%, 38%)
HSVhsv(303, 77%, 62%)
CMYKcmyk(0%, 77.2%, 3.8%, 38%)
CIE-LABlab(39.24, 61.25, -35.92)
CIE-LCHlch(39.24, 71.01, 329.61°)
OKLaboklab(50.28% 0.1737 -0.0992)
OKLCHoklch(50.28% 0.2 330.3)
XYZxyz(20.3988, 10.7995, 30.7098)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2498 #249E2A
analogous
#67249E #9E2498 #9E245B
triadic
#9E2498 #989E24 #24989E
tetradic
#9E2498 #9E6724 #249E2A #245B9E
square
#9E2498 #9E6724 #249E2A #245B9E
split-complementary
#9E2498 #5B9E24 #249E67
monochromatic
#3A0D38 #6C1968 #9E2498 #D02FC8 #DB61D5

Accessibility & contrast

On white

6.65
#9E2498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9E2498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2498
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2498#FFFFFF#000000##FFFFFF
##9E24981.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13529B
Deuteranopia (green-blind)
#4A6295
Tritanopia (blue-blind)
#A4355D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e2498;
/* rgb */ color: rgb(158, 36, 152);
/* oklch */ color: oklch(50.3% 0.200 330.3);
Tailwind
colors: {
  custom: {
    50: '#be6db7',
    500: '#9e2498',
    950: '#000000',
  },
}
SCSS
$custom: #9e2498;
$custom-light: #be6db7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2498",
  "rgb": {
    "r": 158,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 302.951,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50275,
    "c": 0.20007,
    "h": 330.3
  },
  "luminance": 0.10798
}

Semantic roles & 50–950 ramp

primary
#9E2498
secondary
#5EC062
accent
#E64A42
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2498

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

Preview Lab → · Contrast checker → · Palette generator →

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