#9F2F91#9F2F91

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

Color values

HEX#9F2F91
RGBrgb(159, 47, 145)
HSLhsl(308, 54%, 40%)
HSVhsv(308, 70%, 62%)
CMYKcmyk(0%, 70.4%, 8.8%, 37.6%)
CIE-LABlab(40.33, 56.70, -29.94)
CIE-LCHlch(40.33, 64.11, 332.16°)
OKLaboklab(50.97% 0.1638 -0.082)
OKLCHoklch(50.97% 0.183 333.4)
XYZxyz(20.4255, 11.4500, 27.9169)
Luminance0.1145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F91 #2F9F3D
analogous
#752F9F #9F2F91 #9F2F59
triadic
#9F2F91 #919F2F #2F919F
tetradic
#9F2F91 #9F752F #2F9F3D #2F599F
square
#9F2F91 #9F752F #2F9F3D #2F599F
split-complementary
#9F2F91 #599F2F #2F9F75
monochromatic
#41133B #702166 #9F2F91 #C844B7 #D673C9

Accessibility & contrast

On white

6.38
#9F2F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9F2F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2F91
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F91#FFFFFF#000000##FFFFFF
##9F2F911.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2f91;
/* rgb */ color: rgb(159, 47, 145);
/* oklch */ color: oklch(51.0% 0.183 333.4);
Tailwind
colors: {
  custom: {
    50: '#bf72b1',
    500: '#9f2f91',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f91;
$custom-light: #bf72b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f91",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 307.5,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50968,
    "c": 0.18321,
    "h": 333.4
  },
  "luminance": 0.11448
}

Semantic roles & 50–950 ramp

primary
#9F2F91
secondary
#6DBD77
accent
#DE5D4A
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2F91

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

Preview Lab → · Contrast checker → · Palette generator →

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