#9F1F95#9F1F95

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

Color values

HEX#9F1F95
RGBrgb(159, 31, 149)
HSLhsl(305, 67%, 37%)
HSVhsv(305, 81%, 62%)
CMYKcmyk(0%, 80.5%, 6.3%, 37.6%)
CIE-LABlab(38.76, 62.39, -34.84)
CIE-LCHlch(38.76, 71.46, 330.82°)
OKLaboklab(49.91% 0.1788 -0.096)
OKLCHoklch(49.91% 0.203 331.8)
XYZxyz(20.2129, 10.5225, 29.3944)
Luminance0.1052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F95 #1F9F29
analogous
#691F9F #9F1F95 #9F1F55
triadic
#9F1F95 #959F1F #1F959F
tetradic
#9F1F95 #9F691F #1F9F29 #1F559F
square
#9F1F95 #9F691F #1F9F29 #1F559F
split-complementary
#9F1F95 #559F1F #1F9F69
monochromatic
#390B35 #6C1565 #9F1F95 #D229C5 #DF5AD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1F95#FFFFFF#000000##FFFFFF
##9F1F951.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)
#115098
Deuteranopia (green-blind)
#4B6192
Tritanopia (blue-blind)
#A6305A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f1f95;
/* rgb */ color: rgb(159, 31, 149);
/* oklch */ color: oklch(49.9% 0.203 331.8);
Tailwind
colors: {
  custom: {
    50: '#bf6cb4',
    500: '#9f1f95',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f95;
$custom-light: #bf6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f95",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 304.688,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49914,
    "c": 0.20296,
    "h": 331.8
  },
  "luminance": 0.10521
}

Semantic roles & 50–950 ramp

primary
#9F1F95
secondary
#57C360
accent
#EA4B3E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F1F95

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

Preview Lab → · Contrast checker → · Palette generator →

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