#9F2E91#9F2E91

#9F2E91 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.9% C 0.184 H 333.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9F2E91
RGBrgb(159, 46, 145)
HSLhsl(307, 55%, 40%)
HSVhsv(307, 71%, 62%)
CMYKcmyk(0%, 71.1%, 8.8%, 37.6%)
CIE-LABlab(40.20, 57.06, -30.14)
CIE-LCHlch(40.20, 64.53, 332.15°)
OKLaboklab(50.87% 0.1649 -0.0826)
OKLCHoklch(50.87% 0.184 333.4)
XYZxyz(20.3860, 11.3709, 27.9037)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E91 #2E9F3C
analogous
#752E9F #9F2E91 #9F2E58
triadic
#9F2E91 #919F2E #2E919F
tetradic
#9F2E91 #9F752E #2E9F3C #2E589F
square
#9F2E91 #9F752E #2E9F3C #2E589F
split-complementary
#9F2E91 #589F2E #2E9F75
monochromatic
#40133A #702066 #9F2E91 #C842B8 #D671CA

Accessibility & contrast

On white

6.41
#9F2E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2E91
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E91#FFFFFF#000000##FFFFFF
##9F2E911.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5494
Deuteranopia (green-blind)
#53658E
Tritanopia (blue-blind)
#A6385C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f2e91;
/* rgb */ color: rgb(159, 46, 145);
/* oklch */ color: oklch(50.9% 0.184 333.4);
Tailwind
colors: {
  custom: {
    50: '#bf71b1',
    500: '#9f2e91',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e91;
$custom-light: #bf71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e91",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 307.434,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50874,
    "c": 0.18442,
    "h": 333.4
  },
  "luminance": 0.11369
}

Semantic roles & 50–950 ramp

primary
#9F2E91
secondary
#6BBE75
accent
#DE5C49
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2E91

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

Preview Lab → · Contrast checker → · Palette generator →

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