#9F1896#9F1896

#9F1896 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.6% C 0.209 H 331.4°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9F1896
RGBrgb(159, 24, 150)
HSLhsl(304, 74%, 36%)
HSVhsv(304, 85%, 62%)
CMYKcmyk(0%, 84.9%, 5.7%, 37.6%)
CIE-LABlab(38.25, 64.21, -36.27)
CIE-LCHlch(38.25, 73.74, 330.54°)
OKLaboklab(49.57% 0.1836 -0.1001)
OKLCHoklch(49.57% 0.209 331.4)
XYZxyz(20.1298, 10.2279, 29.7623)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1896 #189F21
analogous
#64189F #9F1896 #9F1852
triadic
#9F1896 #969F18 #18969F
tetradic
#9F1896 #9F6418 #189F21 #18529F
square
#9F1896 #9F6418 #189F21 #18529F
split-complementary
#9F1896 #529F18 #189F64
monochromatic
#350832 #6A1064 #9F1896 #D420C8 #E44DDA

Accessibility & contrast

On white

6.90
#9F1896 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F1896
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1896#FFFFFF#000000##FFFFFF
##9F18961.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#486093
Tritanopia (blue-blind)
#A62D59
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1896;
/* rgb */ color: rgb(159, 24, 150);
/* oklch */ color: oklch(49.6% 0.209 331.4);
Tailwind
colors: {
  custom: {
    50: '#bf6ab5',
    500: '#9f1896',
    950: '#000000',
  },
}
SCSS
$custom: #9f1896;
$custom-light: #bf6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1896",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 150
  },
  "hsl": {
    "h": 304,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49565,
    "c": 0.20914,
    "h": 331.4
  },
  "luminance": 0.10226
}

Semantic roles & 50–950 ramp

primary
#9F1896
secondary
#4DC655
accent
#F04437
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F1896

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

Preview Lab → · Contrast checker → · Palette generator →

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