#97279C#97279C

#97279C is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.7% C 0.197 H 326.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#97279C
RGBrgb(151, 39, 156)
HSLhsl(297, 60%, 38%)
HSVhsv(297, 75%, 61%)
CMYKcmyk(3.2%, 75%, 0%, 38.8%)
CIE-LABlab(38.61, 59.46, -39.42)
CIE-LCHlch(38.61, 71.34, 326.46°)
OKLaboklab(49.67% 0.1634 -0.1096)
OKLCHoklch(49.67% 0.197 326.2)
XYZxyz(19.4884, 10.4320, 32.4332)
Luminance0.1043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97279C #2C9C27
analogous
#5C279C #97279C #9C2766
triadic
#97279C #9C9727 #279C97
tetradic
#97279C #9C5C27 #2C9C27 #27669C
square
#97279C #9C5C27 #2C9C27 #27669C
split-complementary
#97279C #669C27 #279C5C
monochromatic
#380F3A #681B6B #97279C #C634CC #D465D8

Accessibility & contrast

On white

6.80
#97279C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#97279C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97279C
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97279C#FFFFFF#000000##FFFFFF
##97279C1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01529F
Deuteranopia (green-blind)
#436099
Tritanopia (blue-blind)
#9B3B60
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #97279c;
/* rgb */ color: rgb(151, 39, 156);
/* oklch */ color: oklch(49.7% 0.197 326.2);
Tailwind
colors: {
  custom: {
    50: '#b96eba',
    500: '#97279c',
    950: '#000000',
  },
}
SCSS
$custom: #97279c;
$custom-light: #b96eba;
$custom-dark: #000000;
JSON
{
  "hex": "#97279c",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 297.436,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49668,
    "c": 0.19678,
    "h": 326.2
  },
  "luminance": 0.10431
}

Semantic roles & 50–950 ramp

primary
#97279C
secondary
#65BE61
accent
#E3454B
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #97279C

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

Preview Lab → · Contrast checker → · Palette generator →

#97279C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva