#9E1A9F#9E1A9F

#9E1A9F is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.1% C 0.214 H 327.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9E1A9F
RGBrgb(158, 26, 159)
HSLhsl(300, 72%, 36%)
HSVhsv(300, 84%, 62%)
CMYKcmyk(0.6%, 83.6%, 0%, 37.6%)
CIE-LABlab(38.75, 64.98, -40.94)
CIE-LCHlch(38.75, 76.80, 327.79°)
OKLaboklab(50.06% 0.181 -0.1137)
OKLCHoklch(50.06% 0.214 327.9)
XYZxyz(20.7277, 10.5127, 33.7316)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A9F #1B9F1A
analogous
#5C1A9F #9E1A9F #9F1A5E
triadic
#9E1A9F #9F9E1A #1A9F9E
tetradic
#9E1A9F #9F5C1A #1B9F1A #1A5E9F
square
#9E1A9F #9F5C1A #1B9F1A #1A5E9F
split-complementary
#9E1A9F #5E9F1A #1A9F5C
monochromatic
#350936 #6A116A #9E1A9F #D223D4 #E151E3

Accessibility & contrast

On white

6.77
#9E1A9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9E1A9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1A9F
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A9F#FFFFFF#000000##FFFFFF
##9E1A9F1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#43619C
Tritanopia (blue-blind)
#A3345F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e1a9f;
/* rgb */ color: rgb(158, 26, 159);
/* oklch */ color: oklch(50.1% 0.214 327.9);
Tailwind
colors: {
  custom: {
    50: '#bf6abc',
    500: '#9e1a9f',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a9f;
$custom-light: #bf6abc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a9f",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 299.549,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.50055,
    "c": 0.21374,
    "h": 327.9
  },
  "luminance": 0.10511
}

Semantic roles & 50–950 ramp

primary
#9E1A9F
secondary
#51C550
accent
#EF393B
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9E1A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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