#97279D#97279D

#97279D is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.198 H 325.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#97279D
RGBrgb(151, 39, 157)
HSLhsl(297, 60%, 38%)
HSVhsv(297, 75%, 62%)
CMYKcmyk(3.8%, 75.2%, 0%, 38.4%)
CIE-LABlab(38.67, 59.64, -39.93)
CIE-LCHlch(38.67, 71.77, 326.20°)
OKLaboklab(49.73% 0.1634 -0.1111)
OKLCHoklch(49.73% 0.198 325.8)
XYZxyz(19.5734, 10.4660, 32.8809)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97279D #2D9D27
analogous
#5C279D #97279D #9D2768
triadic
#97279D #9D9727 #279D97
tetradic
#97279D #9D5C27 #2D9D27 #27689D
square
#97279D #9D5C27 #2D9D27 #27689D
split-complementary
#97279D #689D27 #279D5C
monochromatic
#390F3B #681B6C #97279D #C535CD #D366D9

Accessibility & contrast

On white

6.79
#97279D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #97279D
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97279D#FFFFFF#000000##FFFFFF
##97279D1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#42609A
Tritanopia (blue-blind)
#9B3B60
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #97279d;
/* rgb */ color: rgb(151, 39, 157);
/* oklch */ color: oklch(49.7% 0.198 325.8);
Tailwind
colors: {
  custom: {
    50: '#b96eba',
    500: '#97279d',
    950: '#000000',
  },
}
SCSS
$custom: #97279d;
$custom-light: #b96eba;
$custom-dark: #000000;
JSON
{
  "hex": "#97279d",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 296.949,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49729,
    "c": 0.19758,
    "h": 325.8
  },
  "luminance": 0.10465
}

Semantic roles & 50–950 ramp

primary
#97279D
secondary
#66BF61
accent
#E3444D
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #97279D

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

Preview Lab → · Contrast checker → · Palette generator →

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