#9E2B93#9E2B93

#9E2B93 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.189 H 332.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#9E2B93
RGBrgb(158, 43, 147)
HSLhsl(306, 57%, 39%)
HSVhsv(306, 73%, 62%)
CMYKcmyk(0%, 72.8%, 7%, 38%)
CIE-LABlab(39.76, 58.20, -32.07)
CIE-LCHlch(39.76, 66.45, 331.15°)
OKLaboklab(50.56% 0.1671 -0.0881)
OKLCHoklch(50.56% 0.189 332.2)
XYZxyz(20.2309, 11.1051, 28.6761)
Luminance0.1110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2B93 #2B9E36
analogous
#702B9E #9E2B93 #9E2B5A
triadic
#9E2B93 #939E2B #2B939E
tetradic
#9E2B93 #9E702B #2B9E36 #2B5A9E
square
#9E2B93 #9E702B #2B9E36 #2B5A9E
split-complementary
#9E2B93 #5A9E2B #2B9E70
monochromatic
#3E1139 #6E1E66 #9E2B93 #CA3CBC #D76CCD

Accessibility & contrast

On white

6.52
#9E2B93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9E2B93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2B93
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2B93#FFFFFF#000000##FFFFFF
##9E2B931.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245396
Deuteranopia (green-blind)
#506390
Tritanopia (blue-blind)
#A5375C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e2b93;
/* rgb */ color: rgb(158, 43, 147);
/* oklch */ color: oklch(50.6% 0.189 332.2);
Tailwind
colors: {
  custom: {
    50: '#be70b3',
    500: '#9e2b93',
    950: '#000000',
  },
}
SCSS
$custom: #9e2b93;
$custom-light: #be70b3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2b93",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 147
  },
  "hsl": {
    "h": 305.739,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50557,
    "c": 0.1889,
    "h": 332.2
  },
  "luminance": 0.11103
}

Semantic roles & 50–950 ramp

primary
#9E2B93
secondary
#67BE6F
accent
#E05647
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2B93

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

Preview Lab → · Contrast checker → · Palette generator →

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