#9F2D92#9F2D92

#9F2D92 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.8% C 0.186 H 333.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#9F2D92
RGBrgb(159, 45, 146)
HSLhsl(307, 56%, 40%)
HSVhsv(307, 72%, 62%)
CMYKcmyk(0%, 71.7%, 8.2%, 37.6%)
CIE-LABlab(40.12, 57.58, -30.87)
CIE-LCHlch(40.12, 65.33, 331.80°)
OKLaboklab(50.84% 0.166 -0.0847)
OKLCHoklch(50.84% 0.186 333)
XYZxyz(20.4249, 11.3247, 28.2987)
Luminance0.1132 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D92 #2D9F3A
analogous
#732D9F #9F2D92 #9F2D59
triadic
#9F2D92 #929F2D #2D929F
tetradic
#9F2D92 #9F732D #2D9F3A #2D599F
square
#9F2D92 #9F732D #2D9F3A #2D599F
split-complementary
#9F2D92 #599F2D #2D9F73
monochromatic
#40123A #6F2066 #9F2D92 #C940B9 #D670CB

Accessibility & contrast

On white

6.43
#9F2D92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9F2D92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2D92
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2D92#FFFFFF#000000##FFFFFF
##9F2D921.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285495
Deuteranopia (green-blind)
#52648F
Tritanopia (blue-blind)
#A6385C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f2d92;
/* rgb */ color: rgb(159, 45, 146);
/* oklch */ color: oklch(50.8% 0.186 333.0);
Tailwind
colors: {
  custom: {
    50: '#bf71b2',
    500: '#9f2d92',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d92;
$custom-light: #bf71b2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d92",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 306.842,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.50836,
    "c": 0.18637,
    "h": 333
  },
  "luminance": 0.11323
}

Semantic roles & 50–950 ramp

primary
#9F2D92
secondary
#6ABE74
accent
#DF5A49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2D92

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

Preview Lab → · Contrast checker → · Palette generator →

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