#9F1C8B#9F1C8B

#9F1C8B is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.2% C 0.198 H 335.6°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9F1C8B
RGBrgb(159, 28, 139)
HSLhsl(309, 70%, 37%)
HSVhsv(309, 82%, 62%)
CMYKcmyk(0%, 82.4%, 12.6%, 37.6%)
CIE-LABlab(37.96, 61.66, -29.99)
CIE-LCHlch(37.96, 68.56, 334.06°)
OKLaboklab(49.17% 0.1808 -0.082)
OKLCHoklch(49.17% 0.198 335.6)
XYZxyz(19.3738, 10.0673, 25.3439)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C8B #1C9F30
analogous
#721C9F #9F1C8B #9F1C4A
triadic
#9F1C8B #8B9F1C #1C8B9F
tetradic
#9F1C8B #9F721C #1C9F30 #1C4A9F
square
#9F1C8B #9F721C #1C9F30 #1C4A9F
split-complementary
#9F1C8B #4A9F1C #1C9F72
monochromatic
#370A30 #6B135E #9F1C8B #D325B8 #E154CC

Accessibility & contrast

On white

6.97
#9F1C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F1C8B
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C8B#FFFFFF#000000##FFFFFF
##9F1C8B1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4D8E
Deuteranopia (green-blind)
#4F6088
Tritanopia (blue-blind)
#A72954
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1c8b;
/* rgb */ color: rgb(159, 28, 139);
/* oklch */ color: oklch(49.2% 0.198 335.6);
Tailwind
colors: {
  custom: {
    50: '#bf6aad',
    500: '#9f1c8b',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c8b;
$custom-light: #bf6aad;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c8b",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 309.16,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49168,
    "c": 0.19848,
    "h": 335.6
  },
  "luminance": 0.10066
}

Semantic roles & 50–950 ramp

primary
#9F1C8B
secondary
#53C464
accent
#ED563B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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