#9F1A8B#9F1A8B

#9F1A8B is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.0% C 0.200 H 335.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9F1A8B
RGBrgb(159, 26, 139)
HSLhsl(309, 72%, 36%)
HSVhsv(309, 84%, 62%)
CMYKcmyk(0%, 83.6%, 12.6%, 37.6%)
CIE-LABlab(37.80, 62.14, -30.25)
CIE-LCHlch(37.80, 69.11, 334.04°)
OKLaboklab(49.05% 0.1822 -0.0827)
OKLCHoklch(49.05% 0.2 335.6)
XYZxyz(19.3280, 9.9756, 25.3287)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A8B #1A9F2E
analogous
#711A9F #9F1A8B #9F1A48
triadic
#9F1A8B #8B9F1A #1A8B9F
tetradic
#9F1A8B #9F711A #1A9F2E #1A489F
square
#9F1A8B #9F711A #1A9F2E #1A489F
split-complementary
#9F1A8B #489F1A #1A9F71
monochromatic
#36092F #6A115D #9F1A8B #D423B9 #E351CD

Accessibility & contrast

On white

7.01
#9F1A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1A8B
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A8B#FFFFFF#000000##FFFFFF
##9F1A8B1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4D8E
Deuteranopia (green-blind)
#4F6088
Tritanopia (blue-blind)
#A72753
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1a8b;
/* rgb */ color: rgb(159, 26, 139);
/* oklch */ color: oklch(49.0% 0.200 335.6);
Tailwind
colors: {
  custom: {
    50: '#bf6aad',
    500: '#9f1a8b',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a8b;
$custom-light: #bf6aad;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a8b",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 139
  },
  "hsl": {
    "h": 309.023,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4905,
    "c": 0.20008,
    "h": 335.6
  },
  "luminance": 0.09974
}

Semantic roles & 50–950 ramp

primary
#9F1A8B
secondary
#50C561
accent
#EF5439
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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