#9F2E90#9F2E90

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

Color values

HEX#9F2E90
RGBrgb(159, 46, 144)
HSLhsl(308, 55%, 40%)
HSVhsv(308, 71%, 62%)
CMYKcmyk(0%, 71.1%, 9.4%, 37.6%)
CIE-LABlab(40.15, 56.90, -29.61)
CIE-LCHlch(40.15, 64.15, 332.51°)
OKLaboklab(50.82% 0.1648 -0.0811)
OKLCHoklch(50.82% 0.184 333.8)
XYZxyz(20.3093, 11.3402, 27.4994)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E90 #2E9F3D
analogous
#762E9F #9F2E90 #9F2E57
triadic
#9F2E90 #909F2E #2E909F
tetradic
#9F2E90 #9F762E #2E9F3D #2E579F
square
#9F2E90 #9F762E #2E9F3D #2E579F
split-complementary
#9F2E90 #579F2E #2E9F76
monochromatic
#40133A #702065 #9F2E90 #C842B6 #D671C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F2E90#FFFFFF#000000##FFFFFF
##9F2E901.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)
#2B5493
Deuteranopia (green-blind)
#53648D
Tritanopia (blue-blind)
#A6385B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f2e90;
/* rgb */ color: rgb(159, 46, 144);
/* oklch */ color: oklch(50.8% 0.184 333.8);
Tailwind
colors: {
  custom: {
    50: '#bf71b1',
    500: '#9f2e90',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e90;
$custom-light: #bf71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e90",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 307.965,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50821,
    "c": 0.18367,
    "h": 333.8
  },
  "luminance": 0.11339
}

Semantic roles & 50–950 ramp

primary
#9F2E90
secondary
#6BBE76
accent
#DE5D49
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F2E90

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

Preview Lab → · Contrast checker → · Palette generator →

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