#9F2792#9F2792

#9F2792 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.193 H 332.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9F2792
RGBrgb(159, 39, 146)
HSLhsl(307, 61%, 39%)
HSVhsv(307, 75%, 62%)
CMYKcmyk(0%, 75.5%, 8.2%, 37.6%)
CIE-LABlab(39.41, 59.61, -31.99)
CIE-LCHlch(39.41, 67.65, 331.78°)
OKLaboklab(50.32% 0.172 -0.0878)
OKLCHoklch(50.32% 0.193 332.9)
XYZxyz(20.2120, 10.8990, 28.2278)
Luminance0.1090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2792 #279F34
analogous
#70279F #9F2792 #9F2756
triadic
#9F2792 #929F27 #27929F
tetradic
#9F2792 #9F7027 #279F34 #27569F
square
#9F2792 #9F7027 #279F34 #27569F
split-complementary
#9F2792 #569F27 #279F70
monochromatic
#3D0F38 #6E1B65 #9F2792 #CE36BD #DA67CD

Accessibility & contrast

On white

6.61
#9F2792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9F2792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2792
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2792#FFFFFF#000000##FFFFFF
##9F27921.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215295
Deuteranopia (green-blind)
#50638F
Tritanopia (blue-blind)
#A6345A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2792;
/* rgb */ color: rgb(159, 39, 146);
/* oklch */ color: oklch(50.3% 0.193 332.9);
Tailwind
colors: {
  custom: {
    50: '#bf6eb2',
    500: '#9f2792',
    950: '#000000',
  },
}
SCSS
$custom: #9f2792;
$custom-light: #bf6eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2792",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 306.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50323,
    "c": 0.19309,
    "h": 332.9
  },
  "luminance": 0.10897
}

Semantic roles & 50–950 ramp

primary
#9F2792
secondary
#62C06C
accent
#E45544
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2792

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

Preview Lab → · Contrast checker → · Palette generator →

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