#9E1888#9E1888

#9E1888 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.6% C 0.199 H 336.4°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9E1888
RGBrgb(158, 24, 136)
HSLhsl(310, 74%, 36%)
HSVhsv(310, 85%, 62%)
CMYKcmyk(0%, 84.8%, 13.9%, 38%)
CIE-LABlab(37.30, 61.94, -29.19)
CIE-LCHlch(37.30, 68.48, 334.77°)
OKLaboklab(48.61% 0.1824 -0.0797)
OKLCHoklch(48.61% 0.199 336.4)
XYZxyz(18.8715, 9.7018, 24.1665)
Luminance0.0970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1888 #189E2E
analogous
#71189E #9E1888 #9E1845
triadic
#9E1888 #889E18 #18889E
tetradic
#9E1888 #9E7118 #189E2E #18459E
square
#9E1888 #9E7118 #189E2E #18459E
split-complementary
#9E1888 #459E18 #189E71
monochromatic
#34082D #69105A #9E1888 #D320B6 #E44DCB

Accessibility & contrast

On white

7.14
#9E1888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9E1888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1888
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1888#FFFFFF#000000##FFFFFF
##9E18881.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4B8B
Deuteranopia (green-blind)
#4F5F85
Tritanopia (blue-blind)
#A72451
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e1888;
/* rgb */ color: rgb(158, 24, 136);
/* oklch */ color: oklch(48.6% 0.199 336.4);
Tailwind
colors: {
  custom: {
    50: '#bf69ab',
    500: '#9e1888',
    950: '#000000',
  },
}
SCSS
$custom: #9e1888;
$custom-light: #bf69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1888",
  "rgb": {
    "r": 158,
    "g": 24,
    "b": 136
  },
  "hsl": {
    "h": 309.851,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4861,
    "c": 0.19906,
    "h": 336.4
  },
  "luminance": 0.097
}

Semantic roles & 50–950 ramp

primary
#9E1888
secondary
#4CC660
accent
#F05638
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1888

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

Preview Lab → · Contrast checker → · Palette generator →

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