#9F1F93#9F1F93

#9F1F93 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.8% C 0.202 H 332.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9F1F93
RGBrgb(159, 31, 147)
HSLhsl(306, 67%, 37%)
HSVhsv(306, 81%, 62%)
CMYKcmyk(0%, 80.5%, 7.5%, 37.6%)
CIE-LABlab(38.65, 62.09, -33.79)
CIE-LCHlch(38.65, 70.69, 331.44°)
OKLaboklab(49.8% 0.1788 -0.093)
OKLCHoklch(49.8% 0.202 332.5)
XYZxyz(20.0546, 10.4592, 28.5607)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F93 #1F9F2B
analogous
#6B1F9F #9F1F93 #9F1F53
triadic
#9F1F93 #939F1F #1F939F
tetradic
#9F1F93 #9F6B1F #1F9F2B #1F539F
square
#9F1F93 #9F6B1F #1F9F2B #1F539F
split-complementary
#9F1F93 #539F1F #1F9F6B
monochromatic
#390B34 #6C1564 #9F1F93 #D229C2 #DF5AD2

Accessibility & contrast

On white

6.79
#9F1F93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9F1F93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1F93
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F93#FFFFFF#000000##FFFFFF
##9F1F931.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155096
Deuteranopia (green-blind)
#4C6190
Tritanopia (blue-blind)
#A62F59
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f1f93;
/* rgb */ color: rgb(159, 31, 147);
/* oklch */ color: oklch(49.8% 0.202 332.5);
Tailwind
colors: {
  custom: {
    50: '#bf6bb3',
    500: '#9f1f93',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f93;
$custom-light: #bf6bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f93",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 305.625,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.498,
    "c": 0.20152,
    "h": 332.5
  },
  "luminance": 0.10457
}

Semantic roles & 50–950 ramp

primary
#9F1F93
secondary
#57C361
accent
#EA4E3E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F1F93

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

Preview Lab → · Contrast checker → · Palette generator →

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