#9E2193#9E2193

#9E2193 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.199 H 332.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9E2193
RGBrgb(158, 33, 147)
HSLhsl(305, 65%, 37%)
HSVhsv(305, 79%, 62%)
CMYKcmyk(0%, 79.1%, 7%, 38%)
CIE-LABlab(38.66, 61.33, -33.79)
CIE-LCHlch(38.66, 70.02, 331.15°)
OKLaboklab(49.77% 0.1762 -0.093)
OKLCHoklch(49.77% 0.199 332.2)
XYZxyz(19.9109, 10.4651, 28.5694)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2193 #219E2C
analogous
#6B219E #9E2193 #9E2155
triadic
#9E2193 #939E21 #21939E
tetradic
#9E2193 #9E6B21 #219E2C #21559E
square
#9E2193 #9E6B21 #219E2C #21559E
split-complementary
#9E2193 #559E21 #219E6B
monochromatic
#390C35 #6B1664 #9E2193 #D12CC2 #DD5CD2

Accessibility & contrast

On white

6.79
#9E2193 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9E2193 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2193
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2193#FFFFFF#000000##FFFFFF
##9E21931.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175096
Deuteranopia (green-blind)
#4C6190
Tritanopia (blue-blind)
#A53159
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2193;
/* rgb */ color: rgb(158, 33, 147);
/* oklch */ color: oklch(49.8% 0.199 332.2);
Tailwind
colors: {
  custom: {
    50: '#be6cb3',
    500: '#9e2193',
    950: '#000000',
  },
}
SCSS
$custom: #9e2193;
$custom-light: #be6cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2193",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 305.28,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49774,
    "c": 0.19924,
    "h": 332.2
  },
  "luminance": 0.10463
}

Semantic roles & 50–950 ramp

primary
#9E2193
secondary
#59C163
accent
#E84E3F
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E2193

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

Preview Lab → · Contrast checker → · Palette generator →

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