#9F279E#9F279E

#9F279E is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.202 H 328.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#9F279E
RGBrgb(159, 39, 158)
HSLhsl(301, 61%, 39%)
HSVhsv(301, 75%, 62%)
CMYKcmyk(0%, 75.5%, 0.6%, 37.6%)
CIE-LABlab(40.07, 61.53, -38.22)
CIE-LCHlch(40.07, 72.43, 328.15°)
OKLaboklab(51.01% 0.1722 -0.1059)
OKLCHoklch(51.01% 0.202 328.4)
XYZxyz(21.1949, 11.2922, 33.4044)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F279E #279F28
analogous
#64279F #9F279E #9F2762
triadic
#9F279E #9E9F27 #279E9F
tetradic
#9F279E #9F6427 #279F28 #27629F
square
#9F279E #9F6427 #279F28 #27629F
split-complementary
#9F279E #629F27 #279F64
monochromatic
#3D0F3C #6E1B6D #9F279E #CE36CC #DA67D9

Accessibility & contrast

On white

6.45
#9F279E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9F279E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F279E
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F279E#FFFFFF#000000##FFFFFF
##9F279E1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D54A1
Deuteranopia (green-blind)
#49649B
Tritanopia (blue-blind)
#A43A61
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f279e;
/* rgb */ color: rgb(159, 39, 158);
/* oklch */ color: oklch(51.0% 0.202 328.4);
Tailwind
colors: {
  custom: {
    50: '#bf6fbb',
    500: '#9f279e',
    950: '#000000',
  },
}
SCSS
$custom: #9f279e;
$custom-light: #bf6fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f279e",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 300.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.51008,
    "c": 0.20214,
    "h": 328.4
  },
  "luminance": 0.11291
}

Semantic roles & 50–950 ramp

primary
#9F279E
secondary
#62C063
accent
#E44544
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F279E

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

Preview Lab → · Contrast checker → · Palette generator →

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