#9F2996#9F2996

#9F2996 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.194 H 331.4°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9F2996
RGBrgb(159, 41, 150)
HSLhsl(305, 59%, 39%)
HSVhsv(305, 74%, 62%)
CMYKcmyk(0%, 74.2%, 5.7%, 37.6%)
CIE-LABlab(39.85, 59.59, -33.73)
CIE-LCHlch(39.85, 68.47, 330.49°)
OKLaboklab(50.71% 0.1703 -0.0929)
OKLCHoklch(50.71% 0.194 331.4)
XYZxyz(20.5960, 11.1605, 29.9177)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2996 #299F32
analogous
#6D299F #9F2996 #9F295B
triadic
#9F2996 #969F29 #29969F
tetradic
#9F2996 #9F6D29 #299F32 #295B9F
square
#9F2996 #9F6D29 #299F32 #295B9F
split-complementary
#9F2996 #5B9F29 #299F6D
monochromatic
#3E103A #6E1C68 #9F2996 #CC39C1 #D96AD0

Accessibility & contrast

On white

6.50
#9F2996 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9F2996 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2996
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2996#FFFFFF#000000##FFFFFF
##9F29961.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5399
Deuteranopia (green-blind)
#4E6493
Tritanopia (blue-blind)
#A6375D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f2996;
/* rgb */ color: rgb(159, 41, 150);
/* oklch */ color: oklch(50.7% 0.194 331.4);
Tailwind
colors: {
  custom: {
    50: '#bf6fb5',
    500: '#9f2996',
    950: '#000000',
  },
}
SCSS
$custom: #9f2996;
$custom-light: #bf6fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2996",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 150
  },
  "hsl": {
    "h": 304.576,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50708,
    "c": 0.19394,
    "h": 331.4
  },
  "luminance": 0.11159
}

Semantic roles & 50–950 ramp

primary
#9F2996
secondary
#65BF6C
accent
#E25246
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2996

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

Preview Lab → · Contrast checker → · Palette generator →

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