#9E1A8D#9E1A8D

#9E1A8D is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.0% C 0.201 H 334.4°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9E1A8D
RGBrgb(158, 26, 141)
HSLhsl(308, 72%, 36%)
HSVhsv(308, 84%, 62%)
CMYKcmyk(0%, 83.5%, 10.8%, 38%)
CIE-LABlab(37.72, 62.21, -31.61)
CIE-LCHlch(37.72, 69.78, 333.07°)
OKLaboklab(49% 0.1813 -0.0867)
OKLCHoklch(49% 0.201 334.4)
XYZxyz(19.2779, 9.9328, 26.0961)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A8D #1A9E2B
analogous
#6D1A9E #9E1A8D #9E1A4B
triadic
#9E1A8D #8D9E1A #1A8D9E
tetradic
#9E1A8D #9E6D1A #1A9E2B #1A4B9E
square
#9E1A8D #9E6D1A #1A9E2B #1A4B9E
split-complementary
#9E1A8D #4B9E1A #1A9E6D
monochromatic
#35092F #69115E #9E1A8D #D323BC #E250CF

Accessibility & contrast

On white

7.03
#9E1A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9E1A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1A8D
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A8D#FFFFFF#000000##FFFFFF
##9E1A8D1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174D90
Deuteranopia (green-blind)
#4D5F8A
Tritanopia (blue-blind)
#A62954
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1a8d;
/* rgb */ color: rgb(158, 26, 141);
/* oklch */ color: oklch(49.0% 0.201 334.4);
Tailwind
colors: {
  custom: {
    50: '#bf69af',
    500: '#9e1a8d',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a8d;
$custom-light: #bf69af;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a8d",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 141
  },
  "hsl": {
    "h": 307.727,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48995,
    "c": 0.20094,
    "h": 334.4
  },
  "luminance": 0.09931
}

Semantic roles & 50–950 ramp

primary
#9E1A8D
secondary
#4FC55E
accent
#EE5139
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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