#9F2D93#9F2D93

#9F2D93 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.9% C 0.187 H 332.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9F2D93
RGBrgb(159, 45, 147)
HSLhsl(306, 56%, 40%)
HSVhsv(306, 72%, 62%)
CMYKcmyk(0%, 71.7%, 7.5%, 37.6%)
CIE-LABlab(40.17, 57.74, -31.40)
CIE-LCHlch(40.17, 65.72, 331.46°)
OKLaboklab(50.89% 0.1661 -0.0862)
OKLCHoklch(50.89% 0.187 332.6)
XYZxyz(20.5030, 11.3560, 28.7102)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D93 #2D9F39
analogous
#722D9F #9F2D93 #9F2D5A
triadic
#9F2D93 #939F2D #2D939F
tetradic
#9F2D93 #9F722D #2D9F39 #2D5A9F
square
#9F2D93 #9F722D #2D9F39 #2D5A9F
split-complementary
#9F2D93 #5A9F2D #2D9F72
monochromatic
#40123B #6F2067 #9F2D93 #C940BB #D670CC

Accessibility & contrast

On white

6.42
#9F2D93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9F2D93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2D93
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2D93#FFFFFF#000000##FFFFFF
##9F2D931.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275496
Deuteranopia (green-blind)
#526490
Tritanopia (blue-blind)
#A6395D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f2d93;
/* rgb */ color: rgb(159, 45, 147);
/* oklch */ color: oklch(50.9% 0.187 332.6);
Tailwind
colors: {
  custom: {
    50: '#bf71b3',
    500: '#9f2d93',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d93;
$custom-light: #bf71b3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d93",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 306.316,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.5089,
    "c": 0.18713,
    "h": 332.6
  },
  "luminance": 0.11354
}

Semantic roles & 50–950 ramp

primary
#9F2D93
secondary
#6ABE73
accent
#DF5849
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2D93

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

Preview Lab → · Contrast checker → · Palette generator →

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