#9F1894#9F1894

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

Color values

HEX#9F1894
RGBrgb(159, 24, 148)
HSLhsl(305, 74%, 36%)
HSVhsv(305, 85%, 62%)
CMYKcmyk(0%, 84.9%, 6.9%, 37.6%)
CIE-LABlab(38.14, 63.90, -35.23)
CIE-LCHlch(38.14, 72.97, 331.14°)
OKLaboklab(49.45% 0.1837 -0.0971)
OKLCHoklch(49.45% 0.208 332.1)
XYZxyz(19.9701, 10.1641, 28.9213)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1894 #189F23
analogous
#66189F #9F1894 #9F1850
triadic
#9F1894 #949F18 #18949F
tetradic
#9F1894 #9F6618 #189F23 #18509F
square
#9F1894 #9F6618 #189F23 #18509F
split-complementary
#9F1894 #509F18 #189F66
monochromatic
#350831 #6A1063 #9F1894 #D420C5 #E44DD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1894#FFFFFF#000000##FFFFFF
##9F18941.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)
#064E97
Deuteranopia (green-blind)
#4A6091
Tritanopia (blue-blind)
#A62C58
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1894;
/* rgb */ color: rgb(159, 24, 148);
/* oklch */ color: oklch(49.4% 0.208 332.1);
Tailwind
colors: {
  custom: {
    50: '#bf69b4',
    500: '#9f1894',
    950: '#000000',
  },
}
SCSS
$custom: #9f1894;
$custom-light: #bf69b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1894",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 148
  },
  "hsl": {
    "h": 304.889,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49448,
    "c": 0.20774,
    "h": 332.1
  },
  "luminance": 0.10162
}

Semantic roles & 50–950 ramp

primary
#9F1894
secondary
#4DC657
accent
#F04637
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F1894

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

Preview Lab → · Contrast checker → · Palette generator →

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