#9E2195#9E2195

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

Color values

HEX#9E2195
RGBrgb(158, 33, 149)
HSLhsl(304, 65%, 37%)
HSVhsv(304, 79%, 62%)
CMYKcmyk(0%, 79.1%, 5.7%, 38%)
CIE-LABlab(38.77, 61.64, -34.83)
CIE-LCHlch(38.77, 70.80, 330.53°)
OKLaboklab(49.89% 0.1762 -0.096)
OKLCHoklch(49.89% 0.201 331.4)
XYZxyz(20.0692, 10.5284, 29.4031)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2195 #219E2A
analogous
#69219E #9E2195 #9E2157
triadic
#9E2195 #959E21 #21959E
tetradic
#9E2195 #9E6921 #219E2A #21579E
square
#9E2195 #9E6921 #219E2A #21579E
split-complementary
#9E2195 #579E21 #219E69
monochromatic
#390C36 #6B1665 #9E2195 #D12CC5 #DD5CD4

Accessibility & contrast

On white

6.76
#9E2195 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E2195
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2195#FFFFFF#000000##FFFFFF
##9E21951.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135098
Deuteranopia (green-blind)
#4B6192
Tritanopia (blue-blind)
#A5325B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2195;
/* rgb */ color: rgb(158, 33, 149);
/* oklch */ color: oklch(49.9% 0.201 331.4);
Tailwind
colors: {
  custom: {
    50: '#be6cb4',
    500: '#9e2195',
    950: '#000000',
  },
}
SCSS
$custom: #9e2195;
$custom-light: #be6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2195",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 304.32,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49888,
    "c": 0.20069,
    "h": 331.4
  },
  "luminance": 0.10527
}

Semantic roles & 50–950 ramp

primary
#9E2195
secondary
#59C161
accent
#E84C3F
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E2195

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

Preview Lab → · Contrast checker → · Palette generator →

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