#9F1891#9F1891

#9F1891 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.206 H 333.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9F1891
RGBrgb(159, 24, 145)
HSLhsl(306, 74%, 36%)
HSVhsv(306, 85%, 62%)
CMYKcmyk(0%, 84.9%, 8.8%, 37.6%)
CIE-LABlab(37.97, 63.46, -33.66)
CIE-LCHlch(37.97, 71.83, 332.06°)
OKLaboklab(49.28% 0.1837 -0.0926)
OKLCHoklch(49.28% 0.206 333.3)
XYZxyz(19.7357, 10.0703, 27.6869)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1891 #189F26
analogous
#69189F #9F1891 #9F184D
triadic
#9F1891 #919F18 #18919F
tetradic
#9F1891 #9F6918 #189F26 #184D9F
square
#9F1891 #9F6918 #189F26 #184D9F
split-complementary
#9F1891 #4D9F18 #189F69
monochromatic
#350830 #6A1061 #9F1891 #D420C1 #E44DD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1891#FFFFFF#000000##FFFFFF
##9F18911.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)
#0E4D94
Deuteranopia (green-blind)
#4B608E
Tritanopia (blue-blind)
#A72A56
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1891;
/* rgb */ color: rgb(159, 24, 145);
/* oklch */ color: oklch(49.3% 0.206 333.3);
Tailwind
colors: {
  custom: {
    50: '#bf69b1',
    500: '#9f1891',
    950: '#000000',
  },
}
SCSS
$custom: #9f1891;
$custom-light: #bf69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1891",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 145
  },
  "hsl": {
    "h": 306.222,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49276,
    "c": 0.20566,
    "h": 333.3
  },
  "luminance": 0.10069
}

Semantic roles & 50–950 ramp

primary
#9F1891
secondary
#4DC659
accent
#F04B37
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F1891

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

Preview Lab → · Contrast checker → · Palette generator →

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