#9E2196#9E2196

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

Color values

HEX#9E2196
RGBrgb(158, 33, 150)
HSLhsl(304, 65%, 37%)
HSVhsv(304, 79%, 62%)
CMYKcmyk(0%, 79.1%, 5.1%, 38%)
CIE-LABlab(38.83, 61.80, -35.35)
CIE-LCHlch(38.83, 71.20, 330.23°)
OKLaboklab(49.95% 0.1762 -0.0975)
OKLCHoklch(49.95% 0.201 331)
XYZxyz(20.1494, 10.5605, 29.8254)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2196 #219E29
analogous
#68219E #9E2196 #9E2158
triadic
#9E2196 #969E21 #21969E
tetradic
#9E2196 #9E6821 #219E29 #21589E
square
#9E2196 #9E6821 #219E29 #21589E
split-complementary
#9E2196 #589E21 #219E68
monochromatic
#390C36 #6B1666 #9E2196 #D12CC6 #DD5CD5

Accessibility & contrast

On white

6.75
#9E2196 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9E2196 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2196
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2196#FFFFFF#000000##FFFFFF
##9E21961.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115199
Deuteranopia (green-blind)
#4A6193
Tritanopia (blue-blind)
#A4325B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2196;
/* rgb */ color: rgb(158, 33, 150);
/* oklch */ color: oklch(49.9% 0.201 331.0);
Tailwind
colors: {
  custom: {
    50: '#be6cb5',
    500: '#9e2196',
    950: '#000000',
  },
}
SCSS
$custom: #9e2196;
$custom-light: #be6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2196",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 303.84,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49946,
    "c": 0.20143,
    "h": 331
  },
  "luminance": 0.10559
}

Semantic roles & 50–950 ramp

primary
#9E2196
secondary
#59C160
accent
#E84A3F
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E2196

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

Preview Lab → · Contrast checker → · Palette generator →

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