#9F2A95#9F2A95

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

Color values

HEX#9F2A95
RGBrgb(159, 42, 149)
HSLhsl(305, 58%, 39%)
HSVhsv(305, 74%, 62%)
CMYKcmyk(0%, 73.6%, 6.3%, 37.6%)
CIE-LABlab(39.91, 59.10, -33.02)
CIE-LCHlch(39.91, 67.70, 330.80°)
OKLaboklab(50.74% 0.1692 -0.0908)
OKLCHoklch(50.74% 0.192 331.8)
XYZxyz(20.5509, 11.1984, 29.5071)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2A95 #2A9F34
analogous
#6F2A9F #9F2A95 #9F2A5B
triadic
#9F2A95 #959F2A #2A959F
tetradic
#9F2A95 #9F6F2A #2A9F34 #2A5B9F
square
#9F2A95 #9F6F2A #2A9F34 #2A5B9F
split-complementary
#9F2A95 #5B9F2A #2A9F6F
monochromatic
#3E103A #6F1D68 #9F2A95 #CB3BBF #D86BCF

Accessibility & contrast

On white

6.48
#9F2A95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9F2A95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2A95
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2A95#FFFFFF#000000##FFFFFF
##9F2A951.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215498
Deuteranopia (green-blind)
#4F6492
Tritanopia (blue-blind)
#A6375D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f2a95;
/* rgb */ color: rgb(159, 42, 149);
/* oklch */ color: oklch(50.7% 0.192 331.8);
Tailwind
colors: {
  custom: {
    50: '#bf70b4',
    500: '#9f2a95',
    950: '#000000',
  },
}
SCSS
$custom: #9f2a95;
$custom-light: #bf70b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2a95",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 305.128,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50736,
    "c": 0.19208,
    "h": 331.8
  },
  "luminance": 0.11197
}

Semantic roles & 50–950 ramp

primary
#9F2A95
secondary
#66BF6E
accent
#E15446
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2A95

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

Preview Lab → · Contrast checker → · Palette generator →

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