#97279F#97279F

#97279F is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.9% C 0.199 H 325.1°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#97279F
RGBrgb(151, 39, 159)
HSLhsl(296, 61%, 39%)
HSVhsv(296, 75%, 62%)
CMYKcmyk(5%, 75.5%, 0%, 37.6%)
CIE-LABlab(38.79, 59.98, -40.95)
CIE-LCHlch(38.79, 72.63, 325.68°)
OKLaboklab(49.85% 0.1633 -0.114)
OKLCHoklch(49.85% 0.199 325.1)
XYZxyz(19.7456, 10.5348, 33.7876)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97279F #2F9F27
analogous
#5B279F #97279F #9F276B
triadic
#97279F #9F9727 #279F97
tetradic
#97279F #9F5B27 #2F9F27 #276B9F
square
#97279F #9F5B27 #2F9F27 #276B9F
split-complementary
#97279F #6B9F27 #279F5B
monochromatic
#3A0F3D #681B6E #97279F #C336CE #D267DA

Accessibility & contrast

On white

6.76
#97279F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#97279F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97279F
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97279F#FFFFFF#000000##FFFFFF
##97279F1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#41609C
Tritanopia (blue-blind)
#9A3C62
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #97279f;
/* rgb */ color: rgb(151, 39, 159);
/* oklch */ color: oklch(49.9% 0.199 325.1);
Tailwind
colors: {
  custom: {
    50: '#b96ebc',
    500: '#97279f',
    950: '#000000',
  },
}
SCSS
$custom: #97279f;
$custom-light: #b96ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#97279f",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 296,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49853,
    "c": 0.19919,
    "h": 325.1
  },
  "luminance": 0.10534
}

Semantic roles & 50–950 ramp

primary
#97279F
secondary
#68C062
accent
#E4444F
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #97279F

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

Preview Lab → · Contrast checker → · Palette generator →

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