#9F2995#9F2995

#9F2995 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.7% C 0.193 H 331.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#9F2995
RGBrgb(159, 41, 149)
HSLhsl(305, 59%, 39%)
HSVhsv(305, 74%, 62%)
CMYKcmyk(0%, 74.2%, 6.3%, 37.6%)
CIE-LABlab(39.80, 59.43, -33.21)
CIE-LCHlch(39.80, 68.08, 330.80°)
OKLaboklab(50.65% 0.1702 -0.0914)
OKLCHoklch(50.65% 0.193 331.8)
XYZxyz(20.5159, 11.1284, 29.4954)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2995 #299F33
analogous
#6E299F #9F2995 #9F295A
triadic
#9F2995 #959F29 #29959F
tetradic
#9F2995 #9F6E29 #299F33 #295A9F
square
#9F2995 #9F6E29 #299F33 #295A9F
split-complementary
#9F2995 #5A9F29 #299F6E
monochromatic
#3E103A #6E1C67 #9F2995 #CC39C0 #D96ACF

Accessibility & contrast

On white

6.51
#9F2995 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9F2995 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2995
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2995#FFFFFF#000000##FFFFFF
##9F29951.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205398
Deuteranopia (green-blind)
#4F6492
Tritanopia (blue-blind)
#A6375D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f2995;
/* rgb */ color: rgb(159, 41, 149);
/* oklch */ color: oklch(50.7% 0.193 331.8);
Tailwind
colors: {
  custom: {
    50: '#bf6fb4',
    500: '#9f2995',
    950: '#000000',
  },
}
SCSS
$custom: #9f2995;
$custom-light: #bf6fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2995",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 305.085,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50652,
    "c": 0.19318,
    "h": 331.8
  },
  "luminance": 0.11127
}

Semantic roles & 50–950 ramp

primary
#9F2995
secondary
#65BF6C
accent
#E25346
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2995

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

Preview Lab → · Contrast checker → · Palette generator →

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