#9E2197#9E2197

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

Color values

HEX#9E2197
RGBrgb(158, 33, 151)
HSLhsl(303, 65%, 37%)
HSVhsv(303, 79%, 62%)
CMYKcmyk(0%, 79.1%, 4.4%, 38%)
CIE-LABlab(38.89, 61.95, -35.87)
CIE-LCHlch(38.89, 71.59, 329.93°)
OKLaboklab(50% 0.1762 -0.099)
OKLCHoklch(50% 0.202 330.7)
XYZxyz(20.2303, 10.5928, 30.2513)
Luminance0.1059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2197 #219E28
analogous
#67219E #9E2197 #9E2159
triadic
#9E2197 #979E21 #21979E
tetradic
#9E2197 #9E6721 #219E28 #21599E
square
#9E2197 #9E6721 #219E28 #21599E
split-complementary
#9E2197 #599E21 #219E67
monochromatic
#390C36 #6B1667 #9E2197 #D12CC7 #DD5CD6

Accessibility & contrast

On white

6.73
#9E2197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9E2197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2197
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2197#FFFFFF#000000##FFFFFF
##9E21971.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F519A
Deuteranopia (green-blind)
#4A6194
Tritanopia (blue-blind)
#A4335C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e2197;
/* rgb */ color: rgb(158, 33, 151);
/* oklch */ color: oklch(50.0% 0.202 330.7);
Tailwind
colors: {
  custom: {
    50: '#be6cb6',
    500: '#9e2197',
    950: '#000000',
  },
}
SCSS
$custom: #9e2197;
$custom-light: #be6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2197",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 303.36,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.50004,
    "c": 0.20216,
    "h": 330.7
  },
  "luminance": 0.10591
}

Semantic roles & 50–950 ramp

primary
#9E2197
secondary
#59C15F
accent
#E8493F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2197

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

Preview Lab → · Contrast checker → · Palette generator →

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