#9E1998#9E1998

#9E1998 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.6% C 0.209 H 330.3°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9E1998
RGBrgb(158, 25, 152)
HSLhsl(303, 73%, 36%)
HSVhsv(303, 84%, 62%)
CMYKcmyk(0%, 84.2%, 3.8%, 38%)
CIE-LABlab(38.26, 64.10, -37.48)
CIE-LCHlch(38.26, 74.25, 329.69°)
OKLaboklab(49.58% 0.1819 -0.1037)
OKLCHoklch(49.58% 0.209 330.3)
XYZxyz(20.1156, 10.2330, 30.6154)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1998 #199E1F
analogous
#61199E #9E1998 #9E1955
triadic
#9E1998 #989E19 #19989E
tetradic
#9E1998 #9E6119 #199E1F #19559E
square
#9E1998 #9E6119 #199E1F #19559E
split-complementary
#9E1998 #559E19 #199E61
monochromatic
#340832 #691165 #9E1998 #D321CB #E34EDC

Accessibility & contrast

On white

6.89
#9E1998 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9E1998 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1998
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1998#FFFFFF#000000##FFFFFF
##9E19981.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#476095
Tritanopia (blue-blind)
#A42F5B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e1998;
/* rgb */ color: rgb(158, 25, 152);
/* oklch */ color: oklch(49.6% 0.209 330.3);
Tailwind
colors: {
  custom: {
    50: '#bf6ab7',
    500: '#9e1998',
    950: '#000000',
  },
}
SCSS
$custom: #9e1998;
$custom-light: #bf6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1998",
  "rgb": {
    "r": 158,
    "g": 25,
    "b": 152
  },
  "hsl": {
    "h": 302.707,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49575,
    "c": 0.2094,
    "h": 330.3
  },
  "luminance": 0.10231
}

Semantic roles & 50–950 ramp

primary
#9E1998
secondary
#4EC553
accent
#EF4138
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E1998

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

Preview Lab → · Contrast checker → · Palette generator →

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