#9F279D#9F279D

#9F279D is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 50.9% C 0.201 H 328.8°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9F279D
RGBrgb(159, 39, 157)
HSLhsl(301, 61%, 39%)
HSVhsv(301, 75%, 62%)
CMYKcmyk(0%, 75.5%, 1.3%, 37.6%)
CIE-LABlab(40.01, 61.37, -37.71)
CIE-LCHlch(40.01, 72.02, 328.43°)
OKLaboklab(50.95% 0.1722 -0.1044)
OKLCHoklch(50.95% 0.201 328.8)
XYZxyz(21.1092, 11.2579, 32.9529)
Luminance0.1126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F279D #279F29
analogous
#65279F #9F279D #9F2761
triadic
#9F279D #9D9F27 #279D9F
tetradic
#9F279D #9F6527 #279F29 #27619F
square
#9F279D #9F6527 #279F29 #27619F
split-complementary
#9F279D #619F27 #279F65
monochromatic
#3D0F3C #6E1B6C #9F279D #CE36CB #DA67D8

Accessibility & contrast

On white

6.46
#9F279D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9F279D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F279D
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F279D#FFFFFF#000000##FFFFFF
##9F279D1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1054A0
Deuteranopia (green-blind)
#4A649A
Tritanopia (blue-blind)
#A43960
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f279d;
/* rgb */ color: rgb(159, 39, 157);
/* oklch */ color: oklch(50.9% 0.201 328.8);
Tailwind
colors: {
  custom: {
    50: '#bf6fba',
    500: '#9f279d',
    950: '#000000',
  },
}
SCSS
$custom: #9f279d;
$custom-light: #bf6fba;
$custom-dark: #000000;
JSON
{
  "hex": "#9f279d",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 301,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50949,
    "c": 0.20137,
    "h": 328.8
  },
  "luminance": 0.11256
}

Semantic roles & 50–950 ramp

primary
#9F279D
secondary
#62C064
accent
#E44744
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F279D

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

Preview Lab → · Contrast checker → · Palette generator →

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