#9F2D95#9F2D95

#9F2D95 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.189 H 331.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9F2D95
RGBrgb(159, 45, 149)
HSLhsl(305, 56%, 40%)
HSVhsv(305, 72%, 62%)
CMYKcmyk(0%, 71.7%, 6.3%, 37.6%)
CIE-LABlab(40.28, 58.06, -32.45)
CIE-LCHlch(40.28, 66.51, 330.80°)
OKLaboklab(51% 0.1662 -0.0892)
OKLCHoklch(51% 0.189 331.8)
XYZxyz(20.6613, 11.4193, 29.5439)
Luminance0.1142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D95 #2D9F37
analogous
#702D9F #9F2D95 #9F2D5C
triadic
#9F2D95 #959F2D #2D959F
tetradic
#9F2D95 #9F702D #2D9F37 #2D5C9F
square
#9F2D95 #9F702D #2D9F37 #2D5C9F
split-complementary
#9F2D95 #5C9F2D #2D9F70
monochromatic
#40123C #6F2068 #9F2D95 #C940BD #D670CE

Accessibility & contrast

On white

6.40
#9F2D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9F2D95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2D95
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2D95#FFFFFF#000000##FFFFFF
##9F2D951.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255598
Deuteranopia (green-blind)
#516592
Tritanopia (blue-blind)
#A6395E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f2d95;
/* rgb */ color: rgb(159, 45, 149);
/* oklch */ color: oklch(51.0% 0.189 331.8);
Tailwind
colors: {
  custom: {
    50: '#bf71b4',
    500: '#9f2d95',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d95;
$custom-light: #bf71b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d95",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 305.263,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.50999,
    "c": 0.18866,
    "h": 331.8
  },
  "luminance": 0.11418
}

Semantic roles & 50–950 ramp

primary
#9F2D95
secondary
#6ABE71
accent
#DF5649
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2D95

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

Preview Lab → · Contrast checker → · Palette generator →

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