#9F2C95#9F2C95

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

Color values

HEX#9F2C95
RGBrgb(159, 44, 149)
HSLhsl(305, 57%, 40%)
HSVhsv(305, 72%, 62%)
CMYKcmyk(0%, 72.3%, 6.3%, 37.6%)
CIE-LABlab(40.15, 58.41, -32.64)
CIE-LCHlch(40.15, 66.92, 330.80°)
OKLaboklab(50.91% 0.1673 -0.0898)
OKLCHoklch(50.91% 0.19 331.8)
XYZxyz(20.6236, 11.3439, 29.5313)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2C95 #2C9F36
analogous
#6F2C9F #9F2C95 #9F2C5C
triadic
#9F2C95 #959F2C #2C959F
tetradic
#9F2C95 #9F6F2C #2C9F36 #2C5C9F
square
#9F2C95 #9F6F2C #2C9F36 #2C5C9F
split-complementary
#9F2C95 #5C9F2C #2C9F6F
monochromatic
#3F113B #6F1F68 #9F2C95 #CA3EBE #D76ECE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F2C95#FFFFFF#000000##FFFFFF
##9F2C951.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2c95;
/* rgb */ color: rgb(159, 44, 149);
/* oklch */ color: oklch(50.9% 0.190 331.8);
Tailwind
colors: {
  custom: {
    50: '#bf71b4',
    500: '#9f2c95',
    950: '#000000',
  },
}
SCSS
$custom: #9f2c95;
$custom-light: #bf71b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2c95",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 305.217,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50909,
    "c": 0.18982,
    "h": 331.8
  },
  "luminance": 0.11342
}

Semantic roles & 50–950 ramp

primary
#9F2C95
secondary
#69BE70
accent
#E05548
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2C95

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

Preview Lab → · Contrast checker → · Palette generator →

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