#9F1B92#9F1B92

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

Color values

HEX#9F1B92
RGBrgb(159, 27, 146)
HSLhsl(306, 71%, 36%)
HSVhsv(306, 83%, 62%)
CMYKcmyk(0%, 83%, 8.2%, 37.6%)
CIE-LABlab(38.26, 62.93, -33.82)
CIE-LCHlch(38.26, 71.44, 331.75°)
OKLaboklab(49.5% 0.1817 -0.093)
OKLCHoklch(49.5% 0.204 332.9)
XYZxyz(19.8784, 10.2319, 28.1166)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B92 #1B9F28
analogous
#6A1B9F #9F1B92 #9F1B50
triadic
#9F1B92 #929F1B #1B929F
tetradic
#9F1B92 #9F6A1B #1B9F28 #1B509F
square
#9F1B92 #9F6A1B #1B9F28 #1B509F
split-complementary
#9F1B92 #509F1B #1B9F6A
monochromatic
#360932 #6B1262 #9F1B92 #D324C2 #E253D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1B92#FFFFFF#000000##FFFFFF
##9F1B921.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)
#114E95
Deuteranopia (green-blind)
#4B608F
Tritanopia (blue-blind)
#A62C58
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1b92;
/* rgb */ color: rgb(159, 27, 146);
/* oklch */ color: oklch(49.5% 0.204 332.9);
Tailwind
colors: {
  custom: {
    50: '#bf6ab2',
    500: '#9f1b92',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b92;
$custom-light: #bf6ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b92",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 146
  },
  "hsl": {
    "h": 305.909,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49498,
    "c": 0.20411,
    "h": 332.9
  },
  "luminance": 0.1023
}

Semantic roles & 50–950 ramp

primary
#9F1B92
secondary
#51C55D
accent
#EE4C3A
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F1B92

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

Preview Lab → · Contrast checker → · Palette generator →

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