#9F2D90#9F2D90

#9F2D90 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.7% C 0.185 H 333.8°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9F2D90
RGBrgb(159, 45, 144)
HSLhsl(308, 56%, 40%)
HSVhsv(308, 72%, 62%)
CMYKcmyk(0%, 71.7%, 9.4%, 37.6%)
CIE-LABlab(40.02, 57.27, -29.81)
CIE-LCHlch(40.02, 64.56, 332.50°)
OKLaboklab(50.73% 0.1659 -0.0816)
OKLCHoklch(50.73% 0.185 333.8)
XYZxyz(20.2707, 11.2630, 27.4865)
Luminance0.1126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D90 #2D9F3C
analogous
#752D9F #9F2D90 #9F2D57
triadic
#9F2D90 #909F2D #2D909F
tetradic
#9F2D90 #9F752D #2D9F3C #2D579F
square
#9F2D90 #9F752D #2D9F3C #2D579F
split-complementary
#9F2D90 #579F2D #2D9F75
monochromatic
#40123A #6F2065 #9F2D90 #C940B7 #D670C9

Accessibility & contrast

On white

6.46
#9F2D90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9F2D90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2D90
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2D90#FFFFFF#000000##FFFFFF
##9F2D901.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5493
Deuteranopia (green-blind)
#53648D
Tritanopia (blue-blind)
#A6375B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f2d90;
/* rgb */ color: rgb(159, 45, 144);
/* oklch */ color: oklch(50.7% 0.185 333.8);
Tailwind
colors: {
  custom: {
    50: '#bf71b1',
    500: '#9f2d90',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d90;
$custom-light: #bf71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d90",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 307.895,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.50729,
    "c": 0.18487,
    "h": 333.8
  },
  "luminance": 0.11261
}

Semantic roles & 50–950 ramp

primary
#9F2D90
secondary
#6ABE75
accent
#DF5C49
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F2D90

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

Preview Lab → · Contrast checker → · Palette generator →

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