#9F2C97#9F2C97

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

Color values

HEX#9F2C97
RGBrgb(159, 44, 151)
HSLhsl(304, 57%, 40%)
HSVhsv(304, 72%, 62%)
CMYKcmyk(0%, 72.3%, 5%, 37.6%)
CIE-LABlab(40.26, 58.74, -33.69)
CIE-LCHlch(40.26, 67.71, 330.16°)
OKLaboklab(51.02% 0.1674 -0.0928)
OKLCHoklch(51.02% 0.191 331)
XYZxyz(20.7846, 11.4083, 30.3795)
Luminance0.1141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2C97 #2C9F34
analogous
#6E2C9F #9F2C97 #9F2C5E
triadic
#9F2C97 #979F2C #2C979F
tetradic
#9F2C97 #9F6E2C #2C9F34 #2C5E9F
square
#9F2C97 #9F6E2C #2C9F34 #2C5E9F
split-complementary
#9F2C97 #5E9F2C #2C9F6E
monochromatic
#3F113C #6F1F69 #9F2C97 #CA3EC0 #D76ED0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F2C97#FFFFFF#000000##FFFFFF
##9F2C971.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)
#22559A
Deuteranopia (green-blind)
#4F6494
Tritanopia (blue-blind)
#A53A5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f2c97;
/* rgb */ color: rgb(159, 44, 151);
/* oklch */ color: oklch(51.0% 0.191 331.0);
Tailwind
colors: {
  custom: {
    50: '#bf71b6',
    500: '#9f2c97',
    950: '#000000',
  },
}
SCSS
$custom: #9f2c97;
$custom-light: #bf71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2c97",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 304.174,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5102,
    "c": 0.19135,
    "h": 331
  },
  "luminance": 0.11407
}

Semantic roles & 50–950 ramp

primary
#9F2C97
secondary
#69BE6F
accent
#E05248
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2C97

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

Preview Lab → · Contrast checker → · Palette generator →

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