#9F2A91#9F2A91

#9F2A91 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.189 H 333.4°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#9F2A91
RGBrgb(159, 42, 145)
HSLhsl(307, 58%, 39%)
HSVhsv(307, 74%, 62%)
CMYKcmyk(0%, 73.6%, 8.8%, 37.6%)
CIE-LABlab(39.70, 58.47, -30.92)
CIE-LCHlch(39.70, 66.14, 332.13°)
OKLaboklab(50.52% 0.169 -0.0848)
OKLCHoklch(50.52% 0.189 333.4)
XYZxyz(20.2370, 11.0729, 27.8540)
Luminance0.1107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2A91 #2A9F38
analogous
#722A9F #9F2A91 #9F2A57
triadic
#9F2A91 #919F2A #2A919F
tetradic
#9F2A91 #9F722A #2A9F38 #2A579F
square
#9F2A91 #9F722A #2A9F38 #2A579F
split-complementary
#9F2A91 #579F2A #2A9F72
monochromatic
#3E1039 #6F1D65 #9F2A91 #CB3BBA #D86BCB

Accessibility & contrast

On white

6.53
#9F2A91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9F2A91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2A91
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2A91#FFFFFF#000000##FFFFFF
##9F2A911.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265394
Deuteranopia (green-blind)
#51648E
Tritanopia (blue-blind)
#A6355B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f2a91;
/* rgb */ color: rgb(159, 42, 145);
/* oklch */ color: oklch(50.5% 0.189 333.4);
Tailwind
colors: {
  custom: {
    50: '#bf70b1',
    500: '#9f2a91',
    950: '#000000',
  },
}
SCSS
$custom: #9f2a91;
$custom-light: #bf70b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2a91",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 307.179,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50517,
    "c": 0.18909,
    "h": 333.4
  },
  "luminance": 0.11071
}

Semantic roles & 50–950 ramp

primary
#9F2A91
secondary
#66BF71
accent
#E15946
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2A91

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

Preview Lab → · Contrast checker → · Palette generator →

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