#9F1C8A#9F1C8A

#9F1C8A is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.1% C 0.198 H 336.0°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9F1C8A
RGBrgb(159, 28, 138)
HSLhsl(310, 70%, 37%)
HSVhsv(310, 82%, 62%)
CMYKcmyk(0%, 82.4%, 13.2%, 37.6%)
CIE-LABlab(37.91, 61.51, -29.45)
CIE-LCHlch(37.91, 68.20, 334.41°)
OKLaboklab(49.11% 0.1807 -0.0805)
OKLCHoklch(49.11% 0.198 336)
XYZxyz(19.3011, 10.0383, 24.9609)
Luminance0.1004 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C8A #1C9F31
analogous
#731C9F #9F1C8A #9F1C49
triadic
#9F1C8A #8A9F1C #1C8A9F
tetradic
#9F1C8A #9F731C #1C9F31 #1C499F
square
#9F1C8A #9F731C #1C9F31 #1C499F
split-complementary
#9F1C8A #499F1C #1C9F73
monochromatic
#370A30 #6B135D #9F1C8A #D325B7 #E154CA

Accessibility & contrast

On white

6.98
#9F1C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9F1C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1C8A
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C8A#FFFFFF#000000##FFFFFF
##9F1C8A1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4D8D
Deuteranopia (green-blind)
#506087
Tritanopia (blue-blind)
#A72853
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1c8a;
/* rgb */ color: rgb(159, 28, 138);
/* oklch */ color: oklch(49.1% 0.198 336.0);
Tailwind
colors: {
  custom: {
    50: '#bf6aac',
    500: '#9f1c8a',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c8a;
$custom-light: #bf6aac;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c8a",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 138
  },
  "hsl": {
    "h": 309.618,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49114,
    "c": 0.1978,
    "h": 336
  },
  "luminance": 0.10036
}

Semantic roles & 50–950 ramp

primary
#9F1C8A
secondary
#53C465
accent
#ED573B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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