#9E2A93#9E2A93

#9E2A93 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.190 H 332.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9E2A93
RGBrgb(158, 42, 147)
HSLhsl(306, 58%, 39%)
HSVhsv(306, 73%, 62%)
CMYKcmyk(0%, 73.4%, 7%, 38%)
CIE-LABlab(39.64, 58.55, -32.26)
CIE-LCHlch(39.64, 66.84, 331.15°)
OKLaboklab(50.47% 0.1681 -0.0887)
OKLCHoklch(50.47% 0.19 332.2)
XYZxyz(20.1950, 11.0333, 28.6641)
Luminance0.1103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A93 #2A9E35
analogous
#6F2A9E #9E2A93 #9E2A59
triadic
#9E2A93 #939E2A #2A939E
tetradic
#9E2A93 #9E6F2A #2A9E35 #2A599E
square
#9E2A93 #9E6F2A #2A9E35 #2A599E
split-complementary
#9E2A93 #599E2A #2A9E6F
monochromatic
#3D1039 #6E1D66 #9E2A93 #CB3ABD #D86BCD

Accessibility & contrast

On white

6.55
#9E2A93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9E2A93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2A93
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A93#FFFFFF#000000##FFFFFF
##9E2A931.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235396
Deuteranopia (green-blind)
#4F6390
Tritanopia (blue-blind)
#A5375C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e2a93;
/* rgb */ color: rgb(158, 42, 147);
/* oklch */ color: oklch(50.5% 0.190 332.2);
Tailwind
colors: {
  custom: {
    50: '#be6fb3',
    500: '#9e2a93',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a93;
$custom-light: #be6fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a93",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 305.69,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50471,
    "c": 0.19003,
    "h": 332.2
  },
  "luminance": 0.11032
}

Semantic roles & 50–950 ramp

primary
#9E2A93
secondary
#66BE6E
accent
#E15547
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2A93

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

Preview Lab → · Contrast checker → · Palette generator →

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