#9F1C8E#9F1C8E

#9F1C8E is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.3% C 0.201 H 334.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9F1C8E
RGBrgb(159, 28, 142)
HSLhsl(308, 70%, 37%)
HSVhsv(308, 82%, 62%)
CMYKcmyk(0%, 82.4%, 10.7%, 37.6%)
CIE-LABlab(38.12, 62.10, -31.58)
CIE-LCHlch(38.12, 69.67, 333.04°)
OKLaboklab(49.33% 0.1809 -0.0866)
OKLCHoklch(49.33% 0.201 334.4)
XYZxyz(19.5961, 10.1562, 26.5142)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C8E #1C9F2D
analogous
#6F1C9F #9F1C8E #9F1C4D
triadic
#9F1C8E #8E9F1C #1C8E9F
tetradic
#9F1C8E #9F6F1C #1C9F2D #1C4D9F
square
#9F1C8E #9F6F1C #1C9F2D #1C4D9F
split-complementary
#9F1C8E #4D9F1C #1C9F6F
monochromatic
#370A31 #6B1360 #9F1C8E #D325BC #E154CF

Accessibility & contrast

On white

6.93
#9F1C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9F1C8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1C8E
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C8E#FFFFFF#000000##FFFFFF
##9F1C8E1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194E91
Deuteranopia (green-blind)
#4E608B
Tritanopia (blue-blind)
#A72A55
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1c8e;
/* rgb */ color: rgb(159, 28, 142);
/* oklch */ color: oklch(49.3% 0.201 334.4);
Tailwind
colors: {
  custom: {
    50: '#bf6aaf',
    500: '#9f1c8e',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c8e;
$custom-light: #bf6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c8e",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 307.786,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49332,
    "c": 0.20054,
    "h": 334.4
  },
  "luminance": 0.10154
}

Semantic roles & 50–950 ramp

primary
#9F1C8E
secondary
#53C461
accent
#ED523B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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