#9F1898#9F1898

#9F1898 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.7% C 0.211 H 330.7°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9F1898
RGBrgb(159, 24, 152)
HSLhsl(303, 74%, 36%)
HSVhsv(303, 85%, 62%)
CMYKcmyk(0%, 84.9%, 4.4%, 37.6%)
CIE-LABlab(38.36, 64.51, -37.30)
CIE-LCHlch(38.36, 74.52, 329.96°)
OKLaboklab(49.68% 0.1836 -0.1031)
OKLCHoklch(49.68% 0.211 330.7)
XYZxyz(20.2922, 10.2929, 30.6177)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1898 #189F1F
analogous
#62189F #9F1898 #9F1854
triadic
#9F1898 #989F18 #18989F
tetradic
#9F1898 #9F6218 #189F1F #18549F
square
#9F1898 #9F6218 #189F1F #18549F
split-complementary
#9F1898 #549F18 #189F62
monochromatic
#350832 #6A1065 #9F1898 #D420CB #E44DDC

Accessibility & contrast

On white

6.87
#9F1898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9F1898 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1898
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1898#FFFFFF#000000##FFFFFF
##9F18981.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#476095
Tritanopia (blue-blind)
#A52E5A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1898;
/* rgb */ color: rgb(159, 24, 152);
/* oklch */ color: oklch(49.7% 0.211 330.7);
Tailwind
colors: {
  custom: {
    50: '#bf6ab7',
    500: '#9f1898',
    950: '#000000',
  },
}
SCSS
$custom: #9f1898;
$custom-light: #bf6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1898",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 152
  },
  "hsl": {
    "h": 303.111,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49683,
    "c": 0.21055,
    "h": 330.7
  },
  "luminance": 0.10291
}

Semantic roles & 50–950 ramp

primary
#9F1898
secondary
#4DC653
accent
#F04137
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F1898

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

Preview Lab → · Contrast checker → · Palette generator →

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