#9F1C92#9F1C92

#9F1C92 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.203 H 332.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9F1C92
RGBrgb(159, 28, 146)
HSLhsl(306, 70%, 37%)
HSVhsv(306, 82%, 62%)
CMYKcmyk(0%, 82.4%, 8.2%, 37.6%)
CIE-LABlab(38.34, 62.69, -33.69)
CIE-LCHlch(38.34, 71.17, 331.75°)
OKLaboklab(49.56% 0.181 -0.0927)
OKLCHoklch(49.56% 0.203 332.9)
XYZxyz(19.9018, 10.2785, 28.1243)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C92 #1C9F29
analogous
#6B1C9F #9F1C92 #9F1C51
triadic
#9F1C92 #929F1C #1C929F
tetradic
#9F1C92 #9F6B1C #1C9F29 #1C519F
square
#9F1C92 #9F6B1C #1C9F29 #1C519F
split-complementary
#9F1C92 #519F1C #1C9F6B
monochromatic
#370A32 #6B1362 #9F1C92 #D325C2 #E154D3

Accessibility & contrast

On white

6.87
#9F1C92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9F1C92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1C92
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C92#FFFFFF#000000##FFFFFF
##9F1C921.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124F95
Deuteranopia (green-blind)
#4C618F
Tritanopia (blue-blind)
#A62D58
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1c92;
/* rgb */ color: rgb(159, 28, 146);
/* oklch */ color: oklch(49.6% 0.203 332.9);
Tailwind
colors: {
  custom: {
    50: '#bf6ab2',
    500: '#9f1c92',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c92;
$custom-light: #bf6ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c92",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 146
  },
  "hsl": {
    "h": 305.954,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49556,
    "c": 0.20332,
    "h": 332.9
  },
  "luminance": 0.10277
}

Semantic roles & 50–950 ramp

primary
#9F1C92
secondary
#53C45E
accent
#ED4D3B
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F1C92

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

Preview Lab → · Contrast checker → · Palette generator →

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