#9D279D#9D279D

#9D279D is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.6% C 0.200 H 328.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9D279D
RGBrgb(157, 39, 157)
HSLhsl(300, 60%, 38%)
HSVhsv(300, 75%, 62%)
CMYKcmyk(0%, 75.2%, 0%, 38.4%)
CIE-LABlab(39.67, 60.93, -38.27)
CIE-LCHlch(39.67, 71.95, 327.87°)
OKLaboklab(50.64% 0.17 -0.1061)
OKLCHoklch(50.64% 0.2 328)
XYZxyz(20.7157, 11.0550, 32.9345)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D279D #279D27
analogous
#62279D #9D279D #9D2762
triadic
#9D279D #9D9D27 #279D9D
tetradic
#9D279D #9D6227 #279D27 #27629D
square
#9D279D #9D6227 #279D27 #27629D
split-complementary
#9D279D #629D27 #279D62
monochromatic
#3B0F3B #6C1B6C #9D279D #CD35CD #D966D9

Accessibility & contrast

On white

6.54
#9D279D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9D279D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D279D
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D279D#FFFFFF#000000##FFFFFF
##9D279D1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C54A0
Deuteranopia (green-blind)
#48639A
Tritanopia (blue-blind)
#A23A60
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d279d;
/* rgb */ color: rgb(157, 39, 157);
/* oklch */ color: oklch(50.6% 0.200 328.0);
Tailwind
colors: {
  custom: {
    50: '#be6fba',
    500: '#9d279d',
    950: '#000000',
  },
}
SCSS
$custom: #9d279d;
$custom-light: #be6fba;
$custom-dark: #000000;
JSON
{
  "hex": "#9d279d",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 300,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50642,
    "c": 0.2004,
    "h": 328
  },
  "luminance": 0.11053
}

Semantic roles & 50–950 ramp

primary
#9D279D
secondary
#61BF61
accent
#E34444
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D279D

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

Preview Lab → · Contrast checker → · Palette generator →

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