#97279A#97279A

#97279A is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.195 H 326.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#97279A
RGBrgb(151, 39, 154)
HSLhsl(298, 60%, 38%)
HSVhsv(298, 75%, 60%)
CMYKcmyk(1.9%, 74.7%, 0%, 39.6%)
CIE-LABlab(38.49, 59.12, -38.40)
CIE-LCHlch(38.49, 70.49, 327.00°)
OKLaboklab(49.55% 0.1635 -0.1066)
OKLCHoklch(49.55% 0.195 326.9)
XYZxyz(19.3204, 10.3648, 31.5486)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97279A #2A9A27
analogous
#5E279A #97279A #9A2763
triadic
#97279A #9A9727 #279A97
tetradic
#97279A #9A5E27 #2A9A27 #27639A
square
#97279A #9A5E27 #2A9A27 #27639A
split-complementary
#97279A #639A27 #279A5E
monochromatic
#370E38 #671B69 #97279A #C733CB #D564D8

Accessibility & contrast

On white

6.83
#97279A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#97279A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97279A
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97279A#FFFFFF#000000##FFFFFF
##97279A1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08529D
Deuteranopia (green-blind)
#445F97
Tritanopia (blue-blind)
#9B3A5F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #97279a;
/* rgb */ color: rgb(151, 39, 154);
/* oklch */ color: oklch(49.5% 0.195 326.9);
Tailwind
colors: {
  custom: {
    50: '#b96eb8',
    500: '#97279a',
    950: '#000000',
  },
}
SCSS
$custom: #97279a;
$custom-light: #b96eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#97279a",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 298.435,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49546,
    "c": 0.19517,
    "h": 326.9
  },
  "luminance": 0.10363
}

Semantic roles & 50–950 ramp

primary
#97279A
secondary
#62BD5F
accent
#E34549
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #97279A

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

Preview Lab → · Contrast checker → · Palette generator →

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