#9F1A94#9F1A94

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

Color values

HEX#9F1A94
RGBrgb(159, 26, 148)
HSLhsl(305, 72%, 36%)
HSVhsv(305, 84%, 62%)
CMYKcmyk(0%, 83.6%, 6.9%, 37.6%)
CIE-LABlab(38.29, 63.46, -34.99)
CIE-LCHlch(38.29, 72.47, 331.13°)
OKLaboklab(49.56% 0.1824 -0.0964)
OKLCHoklch(49.56% 0.206 332.1)
XYZxyz(20.0128, 10.2496, 28.9356)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A94 #1A9F25
analogous
#681A9F #9F1A94 #9F1A52
triadic
#9F1A94 #949F1A #1A949F
tetradic
#9F1A94 #9F681A #1A9F25 #1A529F
square
#9F1A94 #9F681A #1A9F25 #1A529F
split-complementary
#9F1A94 #529F1A #1A9F68
monochromatic
#360932 #6A1163 #9F1A94 #D423C5 #E351D6

Accessibility & contrast

On white

6.89
#9F1A94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9F1A94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1A94
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A94#FFFFFF#000000##FFFFFF
##9F1A941.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4F97
Deuteranopia (green-blind)
#4A6091
Tritanopia (blue-blind)
#A62D59
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1a94;
/* rgb */ color: rgb(159, 26, 148);
/* oklch */ color: oklch(49.6% 0.206 332.1);
Tailwind
colors: {
  custom: {
    50: '#bf6ab4',
    500: '#9f1a94',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a94;
$custom-light: #bf6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a94",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 148
  },
  "hsl": {
    "h": 304.962,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49556,
    "c": 0.20629,
    "h": 332.1
  },
  "luminance": 0.10248
}

Semantic roles & 50–950 ramp

primary
#9F1A94
secondary
#50C559
accent
#EF4839
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F1A94

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

Preview Lab → · Contrast checker → · Palette generator →

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