#9E1A9B#9E1A9B

#9E1A9B is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.211 H 329.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9E1A9B
RGBrgb(158, 26, 155)
HSLhsl(301, 72%, 36%)
HSVhsv(301, 84%, 62%)
CMYKcmyk(0%, 83.5%, 1.9%, 38%)
CIE-LABlab(38.51, 64.34, -38.90)
CIE-LCHlch(38.51, 75.19, 328.85°)
OKLaboklab(49.81% 0.1812 -0.1078)
OKLCHoklch(49.81% 0.211 329.3)
XYZxyz(20.3862, 10.3761, 31.9331)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A9B #1A9E1D
analogous
#5F1A9E #9E1A9B #9E1A59
triadic
#9E1A9B #9B9E1A #1A9B9E
tetradic
#9E1A9B #9E5F1A #1A9E1D #1A599E
square
#9E1A9B #9E5F1A #1A9E1D #1A599E
split-complementary
#9E1A9B #599E1A #1A9E5F
monochromatic
#350934 #691167 #9E1A9B #D323CF #E250DF

Accessibility & contrast

On white

6.83
#9E1A9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9E1A9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1A9B
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A9B#FFFFFF#000000##FFFFFF
##9E1A9B1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#456198
Tritanopia (blue-blind)
#A4315D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e1a9b;
/* rgb */ color: rgb(158, 26, 155);
/* oklch */ color: oklch(49.8% 0.211 329.3);
Tailwind
colors: {
  custom: {
    50: '#bf6ab9',
    500: '#9e1a9b',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a9b;
$custom-light: #bf6ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a9b",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 155
  },
  "hsl": {
    "h": 301.364,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4981,
    "c": 0.21082,
    "h": 329.3
  },
  "luminance": 0.10374
}

Semantic roles & 50–950 ramp

primary
#9E1A9B
secondary
#4FC552
accent
#EE3D39
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E1A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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