#9F1698#9F1698

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

Color values

HEX#9F1698
RGBrgb(159, 22, 152)
HSLhsl(303, 76%, 35%)
HSVhsv(303, 86%, 62%)
CMYKcmyk(0%, 86.2%, 4.4%, 37.6%)
CIE-LABlab(38.22, 64.92, -37.52)
CIE-LCHlch(38.22, 74.99, 329.97°)
OKLaboklab(49.58% 0.1848 -0.1037)
OKLCHoklch(49.58% 0.212 330.7)
XYZxyz(20.2525, 10.2134, 30.6044)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1698 #169F1D
analogous
#62169F #9F1698 #9F1653
triadic
#9F1698 #989F16 #16989F
tetradic
#9F1698 #9F6216 #169F1D #16539F
square
#9F1698 #9F6216 #169F1D #16539F
split-complementary
#9F1698 #539F16 #169F62
monochromatic
#330731 #690F65 #9F1698 #D51DCB #E64ADE

Accessibility & contrast

On white

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

On black

3.04
#9F1698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9F1698#FFFFFF#000000##FFFFFF
##9F16981.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f1698;
/* rgb */ color: rgb(159, 22, 152);
/* oklch */ color: oklch(49.6% 0.212 330.7);
Tailwind
colors: {
  custom: {
    50: '#c069b7',
    500: '#9f1698',
    950: '#000000',
  },
}
SCSS
$custom: #9f1698;
$custom-light: #c069b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1698",
  "rgb": {
    "r": 159,
    "g": 22,
    "b": 152
  },
  "hsl": {
    "h": 303.066,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49584,
    "c": 0.2119,
    "h": 330.7
  },
  "luminance": 0.10212
}

Semantic roles & 50–950 ramp

primary
#9F1698
secondary
#4AC750
accent
#F23F36
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F1698

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

Preview Lab → · Contrast checker → · Palette generator →

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