#9F1A8D#9F1A8D

#9F1A8D is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.201 H 334.8°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9F1A8D
RGBrgb(159, 26, 141)
HSLhsl(308, 72%, 36%)
HSVhsv(308, 84%, 62%)
CMYKcmyk(0%, 83.6%, 11.3%, 37.6%)
CIE-LABlab(37.90, 62.43, -31.31)
CIE-LCHlch(37.90, 69.84, 333.36°)
OKLaboklab(49.16% 0.1823 -0.0858)
OKLCHoklch(49.16% 0.201 334.8)
XYZxyz(19.4755, 10.0346, 26.1053)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A8D #1A9F2C
analogous
#6F1A9F #9F1A8D #9F1A4B
triadic
#9F1A8D #8D9F1A #1A8D9F
tetradic
#9F1A8D #9F6F1A #1A9F2C #1A4B9F
square
#9F1A8D #9F6F1A #1A9F2C #1A4B9F
split-complementary
#9F1A8D #4B9F1A #1A9F6F
monochromatic
#360930 #6A115E #9F1A8D #D423BC #E351CF

Accessibility & contrast

On white

6.98
#9F1A8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9F1A8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1A8D
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A8D#FFFFFF#000000##FFFFFF
##9F1A8D1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184D90
Deuteranopia (green-blind)
#4E608A
Tritanopia (blue-blind)
#A72954
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1a8d;
/* rgb */ color: rgb(159, 26, 141);
/* oklch */ color: oklch(49.2% 0.201 334.8);
Tailwind
colors: {
  custom: {
    50: '#bf6aaf',
    500: '#9f1a8d',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a8d;
$custom-light: #bf6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a8d",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 141
  },
  "hsl": {
    "h": 308.12,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4916,
    "c": 0.20143,
    "h": 334.8
  },
  "luminance": 0.10033
}

Semantic roles & 50–950 ramp

primary
#9F1A8D
secondary
#50C560
accent
#EF5239
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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