#9D279C#9D279C

#9D279C is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.6% C 0.200 H 328.4°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9D279C
RGBrgb(157, 39, 156)
HSLhsl(301, 60%, 38%)
HSVhsv(301, 75%, 62%)
CMYKcmyk(0%, 75.2%, 0.6%, 38.4%)
CIE-LABlab(39.62, 60.77, -37.75)
CIE-LCHlch(39.62, 71.54, 328.15°)
OKLaboklab(50.58% 0.1701 -0.1046)
OKLCHoklch(50.58% 0.2 328.4)
XYZxyz(20.6307, 11.0210, 32.4867)
Luminance0.1102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D279C #279D28
analogous
#63279D #9D279C #9D2761
triadic
#9D279C #9C9D27 #279C9D
tetradic
#9D279C #9D6327 #279D28 #27619D
square
#9D279C #9D6327 #279D28 #27619D
split-complementary
#9D279C #619D27 #279D63
monochromatic
#3B0F3B #6C1B6B #9D279C #CD35CB #D966D8

Accessibility & contrast

On white

6.55
#9D279C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9D279C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D279C
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D279C#FFFFFF#000000##FFFFFF
##9D279C1.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F539F
Deuteranopia (green-blind)
#486399
Tritanopia (blue-blind)
#A23960
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d279c;
/* rgb */ color: rgb(157, 39, 156);
/* oklch */ color: oklch(50.6% 0.200 328.4);
Tailwind
colors: {
  custom: {
    50: '#be6eba',
    500: '#9d279c',
    950: '#000000',
  },
}
SCSS
$custom: #9d279c;
$custom-light: #be6eba;
$custom-dark: #000000;
JSON
{
  "hex": "#9d279c",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 300.508,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50583,
    "c": 0.19963,
    "h": 328.4
  },
  "luminance": 0.11019
}

Semantic roles & 50–950 ramp

primary
#9D279C
secondary
#61BF62
accent
#E34644
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9D279C

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

Preview Lab → · Contrast checker → · Palette generator →

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