#9F1A93#9F1A93

#9F1A93 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.206 H 332.5°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9F1A93
RGBrgb(159, 26, 147)
HSLhsl(305, 72%, 36%)
HSVhsv(305, 84%, 62%)
CMYKcmyk(0%, 83.6%, 7.5%, 37.6%)
CIE-LABlab(38.23, 63.31, -34.46)
CIE-LCHlch(38.23, 72.09, 331.44°)
OKLaboklab(49.5% 0.1824 -0.0949)
OKLCHoklch(49.5% 0.206 332.5)
XYZxyz(19.9340, 10.2180, 28.5205)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A93 #1A9F26
analogous
#691A9F #9F1A93 #9F1A51
triadic
#9F1A93 #939F1A #1A939F
tetradic
#9F1A93 #9F691A #1A9F26 #1A519F
square
#9F1A93 #9F691A #1A9F26 #1A519F
split-complementary
#9F1A93 #519F1A #1A9F69
monochromatic
#360932 #6A1162 #9F1A93 #D423C4 #E351D5

Accessibility & contrast

On white

6.90
#9F1A93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9F1A93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1A93
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A93#FFFFFF#000000##FFFFFF
##9F1A931.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4E96
Deuteranopia (green-blind)
#4B6090
Tritanopia (blue-blind)
#A62C58
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1a93;
/* rgb */ color: rgb(159, 26, 147);
/* oklch */ color: oklch(49.5% 0.206 332.5);
Tailwind
colors: {
  custom: {
    50: '#bf6ab3',
    500: '#9f1a93',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a93;
$custom-light: #bf6ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a93",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 147
  },
  "hsl": {
    "h": 305.414,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49498,
    "c": 0.20559,
    "h": 332.5
  },
  "luminance": 0.10216
}

Semantic roles & 50–950 ramp

primary
#9F1A93
secondary
#50C55A
accent
#EF4A39
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F1A93

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

Preview Lab → · Contrast checker → · Palette generator →

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