#9E2297#9E2297

#9E2297 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.1% C 0.201 H 330.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9E2297
RGBrgb(158, 34, 151)
HSLhsl(303, 65%, 38%)
HSVhsv(303, 78%, 62%)
CMYKcmyk(0%, 78.5%, 4.4%, 38%)
CIE-LABlab(38.98, 61.67, -35.72)
CIE-LCHlch(38.98, 71.27, 329.92°)
OKLaboklab(50.07% 0.1754 -0.0986)
OKLCHoklch(50.07% 0.201 330.7)
XYZxyz(20.2584, 10.6492, 30.2607)
Luminance0.1065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2297 #229E29
analogous
#67229E #9E2297 #9E2259
triadic
#9E2297 #979E22 #22979E
tetradic
#9E2297 #9E6722 #229E29 #22599E
square
#9E2297 #9E6722 #229E29 #22599E
split-complementary
#9E2297 #599E22 #229E67
monochromatic
#390C37 #6C1767 #9E2297 #D02DC7 #DC5ED5

Accessibility & contrast

On white

6.71
#9E2297 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9E2297 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2297
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2297#FFFFFF#000000##FFFFFF
##9E22971.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11519A
Deuteranopia (green-blind)
#4A6294
Tritanopia (blue-blind)
#A4345C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e2297;
/* rgb */ color: rgb(158, 34, 151);
/* oklch */ color: oklch(50.1% 0.201 330.7);
Tailwind
colors: {
  custom: {
    50: '#be6db6',
    500: '#9e2297',
    950: '#000000',
  },
}
SCSS
$custom: #9e2297;
$custom-light: #be6db6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2297",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 303.387,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50073,
    "c": 0.20124,
    "h": 330.7
  },
  "luminance": 0.10648
}

Semantic roles & 50–950 ramp

primary
#9E2297
secondary
#5BC161
accent
#E84A40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2297

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

Preview Lab → · Contrast checker → · Palette generator →

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