#9E1993#9E1993

#9E1993 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.206 H 332.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9E1993
RGBrgb(158, 25, 147)
HSLhsl(305, 73%, 36%)
HSVhsv(305, 84%, 62%)
CMYKcmyk(0%, 84.2%, 7%, 38%)
CIE-LABlab(37.97, 63.33, -34.89)
CIE-LCHlch(37.97, 72.31, 331.15°)
OKLaboklab(49.28% 0.182 -0.0961)
OKLCHoklch(49.28% 0.206 332.2)
XYZxyz(19.7147, 10.0727, 28.5040)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1993 #199E24
analogous
#66199E #9E1993 #9E1951
triadic
#9E1993 #939E19 #19939E
tetradic
#9E1993 #9E6619 #199E24 #19519E
square
#9E1993 #9E6619 #199E24 #19519E
split-complementary
#9E1993 #519E19 #199E66
monochromatic
#340831 #691162 #9E1993 #D321C4 #E34ED7

Accessibility & contrast

On white

6.97
#9E1993 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9E1993 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1993
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1993#FFFFFF#000000##FFFFFF
##9E19931.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084E96
Deuteranopia (green-blind)
#496090
Tritanopia (blue-blind)
#A52C58
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1993;
/* rgb */ color: rgb(158, 25, 147);
/* oklch */ color: oklch(49.3% 0.206 332.2);
Tailwind
colors: {
  custom: {
    50: '#bf69b3',
    500: '#9e1993',
    950: '#000000',
  },
}
SCSS
$custom: #9e1993;
$custom-light: #bf69b3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1993",
  "rgb": {
    "r": 158,
    "g": 25,
    "b": 147
  },
  "hsl": {
    "h": 304.962,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49281,
    "c": 0.20586,
    "h": 332.2
  },
  "luminance": 0.10071
}

Semantic roles & 50–950 ramp

primary
#9E1993
secondary
#4EC557
accent
#EF4838
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E1993

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

Preview Lab → · Contrast checker → · Palette generator →

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