#9F2F95#9F2F95

#9F2F95 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.2% C 0.186 H 331.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9F2F95
RGBrgb(159, 47, 149)
HSLhsl(305, 54%, 40%)
HSVhsv(305, 70%, 62%)
CMYKcmyk(0%, 70.4%, 6.3%, 37.6%)
CIE-LABlab(40.53, 57.34, -32.05)
CIE-LCHlch(40.53, 65.69, 330.80°)
OKLaboklab(51.18% 0.1641 -0.0881)
OKLCHoklch(51.18% 0.186 331.8)
XYZxyz(20.7394, 11.5755, 29.5699)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F95 #2F9F39
analogous
#712F9F #9F2F95 #9F2F5D
triadic
#9F2F95 #959F2F #2F959F
tetradic
#9F2F95 #9F712F #2F9F39 #2F5D9F
square
#9F2F95 #9F712F #2F9F39 #2F5D9F
split-complementary
#9F2F95 #5D9F2F #2F9F71
monochromatic
#41133C #702169 #9F2F95 #C844BC #D673CD

Accessibility & contrast

On white

6.34
#9F2F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9F2F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2F95
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F95#FFFFFF#000000##FFFFFF
##9F2F951.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285598
Deuteranopia (green-blind)
#516592
Tritanopia (blue-blind)
#A63B5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f2f95;
/* rgb */ color: rgb(159, 47, 149);
/* oklch */ color: oklch(51.2% 0.186 331.8);
Tailwind
colors: {
  custom: {
    50: '#bf72b4',
    500: '#9f2f95',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f95;
$custom-light: #bf72b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f95",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 305.357,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51183,
    "c": 0.18626,
    "h": 331.8
  },
  "luminance": 0.11574
}

Semantic roles & 50–950 ramp

primary
#9F2F95
secondary
#6DBD74
accent
#DE574A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2F95

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

Preview Lab → · Contrast checker → · Palette generator →

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