#9E1898#9E1898

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

Color values

HEX#9E1898
RGBrgb(158, 24, 152)
HSLhsl(303, 74%, 36%)
HSVhsv(303, 85%, 62%)
CMYKcmyk(0%, 84.8%, 3.8%, 38%)
CIE-LABlab(38.18, 64.32, -37.60)
CIE-LCHlch(38.18, 74.50, 329.69°)
OKLaboklab(49.52% 0.1826 -0.104)
OKLCHoklch(49.52% 0.21 330.3)
XYZxyz(20.0946, 10.1910, 30.6084)
Luminance0.1019 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1898 #189E1E
analogous
#61189E #9E1898 #9E1855
triadic
#9E1898 #989E18 #18989E
tetradic
#9E1898 #9E6118 #189E1E #18559E
square
#9E1898 #9E6118 #189E1E #18559E
split-complementary
#9E1898 #559E18 #189E61
monochromatic
#340832 #691065 #9E1898 #D320CB #E44DDD

Accessibility & contrast

On white

6.91
#9E1898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9E1898 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1898
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1898#FFFFFF#000000##FFFFFF
##9E18981.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e1898;
/* rgb */ color: rgb(158, 24, 152);
/* oklch */ color: oklch(49.5% 0.210 330.3);
Tailwind
colors: {
  custom: {
    50: '#bf69b7',
    500: '#9e1898',
    950: '#000000',
  },
}
SCSS
$custom: #9e1898;
$custom-light: #bf69b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1898",
  "rgb": {
    "r": 158,
    "g": 24,
    "b": 152
  },
  "hsl": {
    "h": 302.687,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.49522,
    "c": 0.21011,
    "h": 330.3
  },
  "luminance": 0.10189
}

Semantic roles & 50–950 ramp

primary
#9E1898
secondary
#4CC651
accent
#F04038
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E1898

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

Preview Lab → · Contrast checker → · Palette generator →

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