#9E2294#9E2294

#9E2294 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.199 H 331.8°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9E2294
RGBrgb(158, 34, 148)
HSLhsl(305, 65%, 38%)
HSVhsv(305, 78%, 62%)
CMYKcmyk(0%, 78.5%, 6.3%, 38%)
CIE-LABlab(38.82, 61.20, -34.16)
CIE-LCHlch(38.82, 70.09, 330.83°)
OKLaboklab(49.9% 0.1754 -0.0941)
OKLCHoklch(49.9% 0.199 331.8)
XYZxyz(20.0179, 10.5529, 28.9939)
Luminance0.1055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2294 #229E2C
analogous
#6A229E #9E2294 #9E2256
triadic
#9E2294 #949E22 #22949E
tetradic
#9E2294 #9E6A22 #229E2C #22569E
square
#9E2294 #9E6A22 #229E2C #22569E
split-complementary
#9E2294 #569E22 #229E6A
monochromatic
#390C36 #6C1765 #9E2294 #D02DC3 #DC5ED2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E2294#FFFFFF#000000##FFFFFF
##9E22941.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)
#165097
Deuteranopia (green-blind)
#4C6191
Tritanopia (blue-blind)
#A5325A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2294;
/* rgb */ color: rgb(158, 34, 148);
/* oklch */ color: oklch(49.9% 0.199 331.8);
Tailwind
colors: {
  custom: {
    50: '#be6cb4',
    500: '#9e2294',
    950: '#000000',
  },
}
SCSS
$custom: #9e2294;
$custom-light: #be6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2294",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 304.839,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49901,
    "c": 0.19903,
    "h": 331.8
  },
  "luminance": 0.10551
}

Semantic roles & 50–950 ramp

primary
#9E2294
secondary
#5BC163
accent
#E84E40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2294

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

Preview Lab → · Contrast checker → · Palette generator →

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