#9C279D#9C279D

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

Color values

HEX#9C279D
RGBrgb(156, 39, 157)
HSLhsl(299, 60%, 38%)
HSVhsv(299, 75%, 62%)
CMYKcmyk(0.6%, 75.2%, 0%, 38.4%)
CIE-LABlab(39.50, 60.71, -38.54)
CIE-LCHlch(39.50, 71.92, 327.59°)
OKLaboklab(50.49% 0.1689 -0.1069)
OKLCHoklch(50.49% 0.2 327.7)
XYZxyz(20.5213, 10.9548, 32.9254)
Luminance0.1095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C279D #289D27
analogous
#61279D #9C279D #9D2763
triadic
#9C279D #9D9C27 #279D9C
tetradic
#9C279D #9D6127 #289D27 #27639D
square
#9C279D #9D6127 #289D27 #27639D
split-complementary
#9C279D #639D27 #279D61
monochromatic
#3B0F3B #6B1B6C #9C279D #CB35CD #D866D9

Accessibility & contrast

On white

6.58
#9C279D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9C279D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C279D
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C279D#FFFFFF#000000##FFFFFF
##9C279D1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A53A0
Deuteranopia (green-blind)
#47629A
Tritanopia (blue-blind)
#A13A60
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c279d;
/* rgb */ color: rgb(156, 39, 157);
/* oklch */ color: oklch(50.5% 0.200 327.7);
Tailwind
colors: {
  custom: {
    50: '#bd6eba',
    500: '#9c279d',
    950: '#000000',
  },
}
SCSS
$custom: #9c279d;
$custom-light: #bd6eba;
$custom-dark: #000000;
JSON
{
  "hex": "#9c279d",
  "rgb": {
    "r": 156,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 299.492,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50489,
    "c": 0.19992,
    "h": 327.7
  },
  "luminance": 0.10953
}

Semantic roles & 50–950 ramp

primary
#9C279D
secondary
#62BF61
accent
#E34446
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9C279D

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

Preview Lab → · Contrast checker → · Palette generator →

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