#9F2992#9F2992

#9F2992 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.191 H 333.0°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9F2992
RGBrgb(159, 41, 146)
HSLhsl(307, 59%, 39%)
HSVhsv(307, 74%, 62%)
CMYKcmyk(0%, 74.2%, 8.2%, 37.6%)
CIE-LABlab(39.64, 58.96, -31.63)
CIE-LCHlch(39.64, 66.91, 331.78°)
OKLaboklab(50.49% 0.1701 -0.0868)
OKLCHoklch(50.49% 0.191 333)
XYZxyz(20.2794, 11.0338, 28.2502)
Luminance0.1103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2992 #299F36
analogous
#71299F #9F2992 #9F2957
triadic
#9F2992 #929F29 #29929F
tetradic
#9F2992 #9F7129 #299F36 #29579F
square
#9F2992 #9F7129 #299F36 #29579F
split-complementary
#9F2992 #579F29 #299F71
monochromatic
#3E1039 #6E1C65 #9F2992 #CC39BC #D96ACC

Accessibility & contrast

On white

6.55
#9F2992 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9F2992 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2992
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2992#FFFFFF#000000##FFFFFF
##9F29921.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245395
Deuteranopia (green-blind)
#50638F
Tritanopia (blue-blind)
#A6355B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2992;
/* rgb */ color: rgb(159, 41, 146);
/* oklch */ color: oklch(50.5% 0.191 333.0);
Tailwind
colors: {
  custom: {
    50: '#bf6fb2',
    500: '#9f2992',
    950: '#000000',
  },
}
SCSS
$custom: #9f2992;
$custom-light: #bf6fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2992",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 146
  },
  "hsl": {
    "h": 306.61,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50487,
    "c": 0.19094,
    "h": 333
  },
  "luminance": 0.11032
}

Semantic roles & 50–950 ramp

primary
#9F2992
secondary
#65BF6F
accent
#E25746
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2992

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

Preview Lab → · Contrast checker → · Palette generator →

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