#9E2295#9E2295

#9E2295 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 50.0% C 0.200 H 331.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9E2295
RGBrgb(158, 34, 149)
HSLhsl(304, 65%, 38%)
HSVhsv(304, 78%, 62%)
CMYKcmyk(0%, 78.5%, 5.7%, 38%)
CIE-LABlab(38.87, 61.36, -34.68)
CIE-LCHlch(38.87, 70.48, 330.53°)
OKLaboklab(49.96% 0.1754 -0.0956)
OKLCHoklch(49.96% 0.2 331.4)
XYZxyz(20.0974, 10.5847, 29.4125)
Luminance0.1058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2295 #229E2B
analogous
#69229E #9E2295 #9E2257
triadic
#9E2295 #959E22 #22959E
tetradic
#9E2295 #9E6922 #229E2B #22579E
square
#9E2295 #9E6922 #229E2B #22579E
split-complementary
#9E2295 #579E22 #229E69
monochromatic
#390C36 #6C1766 #9E2295 #D02DC4 #DC5ED3

Accessibility & contrast

On white

6.74
#9E2295 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E2295
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2295#FFFFFF#000000##FFFFFF
##9E22951.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e2295;
/* rgb */ color: rgb(158, 34, 149);
/* oklch */ color: oklch(50.0% 0.200 331.4);
Tailwind
colors: {
  custom: {
    50: '#be6cb4',
    500: '#9e2295',
    950: '#000000',
  },
}
SCSS
$custom: #9e2295;
$custom-light: #be6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2295",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 304.355,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49958,
    "c": 0.19976,
    "h": 331.4
  },
  "luminance": 0.10583
}

Semantic roles & 50–950 ramp

primary
#9E2295
secondary
#5BC162
accent
#E84C40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2295

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

Preview Lab → · Contrast checker → · Palette generator →

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