#9E2293#9E2293

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

Color values

HEX#9E2293
RGBrgb(158, 34, 147)
HSLhsl(305, 65%, 38%)
HSVhsv(305, 78%, 62%)
CMYKcmyk(0%, 78.5%, 7%, 38%)
CIE-LABlab(38.76, 61.05, -33.64)
CIE-LCHlch(38.76, 69.70, 331.15°)
OKLaboklab(49.84% 0.1754 -0.0926)
OKLCHoklch(49.84% 0.198 332.2)
XYZxyz(19.9391, 10.5214, 28.5788)
Luminance0.1052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2293 #229E2D
analogous
#6B229E #9E2293 #9E2255
triadic
#9E2293 #939E22 #22939E
tetradic
#9E2293 #9E6B22 #229E2D #22559E
square
#9E2293 #9E6B22 #229E2D #22559E
split-complementary
#9E2293 #559E22 #229E6B
monochromatic
#390C35 #6C1764 #9E2293 #D02DC2 #DC5ED1

Accessibility & contrast

On white

6.77
#9E2293 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9E2293 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2293
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2293#FFFFFF#000000##FFFFFF
##9E22931.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e2293;
/* rgb */ color: rgb(158, 34, 147);
/* oklch */ color: oklch(49.8% 0.198 332.2);
Tailwind
colors: {
  custom: {
    50: '#be6cb3',
    500: '#9e2293',
    950: '#000000',
  },
}
SCSS
$custom: #9e2293;
$custom-light: #be6cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2293",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 305.323,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49844,
    "c": 0.19831,
    "h": 332.2
  },
  "luminance": 0.1052
}

Semantic roles & 50–950 ramp

primary
#9E2293
secondary
#5BC164
accent
#E84F40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2293

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

Preview Lab → · Contrast checker → · Palette generator →

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