#9F1B93#9F1B93

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

Color values

HEX#9F1B93
RGBrgb(159, 27, 147)
HSLhsl(305, 71%, 36%)
HSVhsv(305, 83%, 62%)
CMYKcmyk(0%, 83%, 7.5%, 37.6%)
CIE-LABlab(38.31, 63.08, -34.34)
CIE-LCHlch(38.31, 71.82, 331.44°)
OKLaboklab(49.56% 0.1817 -0.0945)
OKLCHoklch(49.56% 0.205 332.5)
XYZxyz(19.9566, 10.2631, 28.5280)
Luminance0.1026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B93 #1B9F27
analogous
#691B9F #9F1B93 #9F1B51
triadic
#9F1B93 #939F1B #1B939F
tetradic
#9F1B93 #9F691B #1B9F27 #1B519F
square
#9F1B93 #9F691B #1B9F27 #1B519F
split-complementary
#9F1B93 #519F1B #1B9F69
monochromatic
#360932 #6B1263 #9F1B93 #D324C3 #E253D5

Accessibility & contrast

On white

6.88
#9F1B93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F1B93
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B93#FFFFFF#000000##FFFFFF
##9F1B931.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4F96
Deuteranopia (green-blind)
#4B6190
Tritanopia (blue-blind)
#A62D58
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1b93;
/* rgb */ color: rgb(159, 27, 147);
/* oklch */ color: oklch(49.6% 0.205 332.5);
Tailwind
colors: {
  custom: {
    50: '#bf6ab3',
    500: '#9f1b93',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b93;
$custom-light: #bf6ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b93",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 147
  },
  "hsl": {
    "h": 305.455,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49555,
    "c": 0.20482,
    "h": 332.5
  },
  "luminance": 0.10261
}

Semantic roles & 50–950 ramp

primary
#9F1B93
secondary
#51C55C
accent
#EE4A3A
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F1B93

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

Preview Lab → · Contrast checker → · Palette generator →

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