#9D279F#9D279F

#9D279F is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.202 H 327.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#9D279F
RGBrgb(157, 39, 159)
HSLhsl(299, 61%, 39%)
HSVhsv(299, 75%, 62%)
CMYKcmyk(1.3%, 75.5%, 0%, 37.6%)
CIE-LABlab(39.79, 61.27, -39.29)
CIE-LCHlch(39.79, 72.78, 327.33°)
OKLaboklab(50.76% 0.17 -0.109)
OKLCHoklch(50.76% 0.202 327.3)
XYZxyz(20.8878, 11.1238, 33.8411)
Luminance0.1112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D279F #299F27
analogous
#61279F #9D279F #9F2765
triadic
#9D279F #9F9D27 #279F9D
tetradic
#9D279F #9F6127 #299F27 #27659F
square
#9D279F #9F6127 #299F27 #27659F
split-complementary
#9D279F #659F27 #279F61
monochromatic
#3C0F3D #6C1B6E #9D279F #CB36CE #D867DA

Accessibility & contrast

On white

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

On black

3.22
#9D279F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9D279F#FFFFFF#000000##FFFFFF
##9D279F1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0654A2
Deuteranopia (green-blind)
#47639C
Tritanopia (blue-blind)
#A23B62
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d279f;
/* rgb */ color: rgb(157, 39, 159);
/* oklch */ color: oklch(50.8% 0.202 327.3);
Tailwind
colors: {
  custom: {
    50: '#be6fbc',
    500: '#9d279f',
    950: '#000000',
  },
}
SCSS
$custom: #9d279f;
$custom-light: #be6fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d279f",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 299,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50762,
    "c": 0.20196,
    "h": 327.3
  },
  "luminance": 0.11122
}

Semantic roles & 50–950 ramp

primary
#9D279F
secondary
#64C062
accent
#E44447
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D279F

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

Preview Lab → · Contrast checker → · Palette generator →

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