#9F279A#9F279A

#9F279A is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.8% C 0.199 H 329.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9F279A
RGBrgb(159, 39, 154)
HSLhsl(303, 61%, 39%)
HSVhsv(303, 75%, 62%)
CMYKcmyk(0%, 75.5%, 3.1%, 37.6%)
CIE-LABlab(39.84, 60.88, -36.16)
CIE-LCHlch(39.84, 70.81, 329.29°)
OKLaboklab(50.77% 0.1722 -0.0999)
OKLCHoklch(50.77% 0.199 329.9)
XYZxyz(20.8562, 11.1567, 31.6206)
Luminance0.1115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F279A #279F2C
analogous
#68279F #9F279A #9F275E
triadic
#9F279A #9A9F27 #279A9F
tetradic
#9F279A #9F6827 #279F2C #275E9F
square
#9F279A #9F6827 #279F2C #275E9F
split-complementary
#9F279A #5E9F27 #279F68
monochromatic
#3D0F3B #6E1B6A #9F279A #CE36C7 #DA67D5

Accessibility & contrast

On white

6.50
#9F279A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F279A
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F279A#FFFFFF#000000##FFFFFF
##9F279A1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16549D
Deuteranopia (green-blind)
#4B6397
Tritanopia (blue-blind)
#A5385F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f279a;
/* rgb */ color: rgb(159, 39, 154);
/* oklch */ color: oklch(50.8% 0.199 329.9);
Tailwind
colors: {
  custom: {
    50: '#bf6fb8',
    500: '#9f279a',
    950: '#000000',
  },
}
SCSS
$custom: #9f279a;
$custom-light: #bf6fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f279a",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 302.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50774,
    "c": 0.19908,
    "h": 329.9
  },
  "luminance": 0.11155
}

Semantic roles & 50–950 ramp

primary
#9F279A
secondary
#62C066
accent
#E44B44
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F279A

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

Preview Lab → · Contrast checker → · Palette generator →

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