#97279B#97279B

#97279B is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.196 H 326.5°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#97279B
RGBrgb(151, 39, 155)
HSLhsl(298, 60%, 38%)
HSVhsv(298, 75%, 61%)
CMYKcmyk(2.6%, 74.8%, 0%, 39.2%)
CIE-LABlab(38.55, 59.29, -38.91)
CIE-LCHlch(38.55, 70.92, 326.73°)
OKLaboklab(49.61% 0.1635 -0.1081)
OKLCHoklch(49.61% 0.196 326.5)
XYZxyz(19.4041, 10.3982, 31.9890)
Luminance0.1040 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97279B #2B9B27
analogous
#5D279B #97279B #9B2765
triadic
#97279B #9B9727 #279B97
tetradic
#97279B #9B5D27 #2B9B27 #27659B
square
#97279B #9B5D27 #2B9B27 #27659B
split-complementary
#97279B #659B27 #279B5D
monochromatic
#380E39 #671B6A #97279B #C733CC #D464D8

Accessibility & contrast

On white

6.82
#97279B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#97279B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97279B
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97279B#FFFFFF#000000##FFFFFF
##97279B1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04529E
Deuteranopia (green-blind)
#436098
Tritanopia (blue-blind)
#9B3A5F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #97279b;
/* rgb */ color: rgb(151, 39, 155);
/* oklch */ color: oklch(49.6% 0.196 326.5);
Tailwind
colors: {
  custom: {
    50: '#b96eb9',
    500: '#97279b',
    950: '#000000',
  },
}
SCSS
$custom: #97279b;
$custom-light: #b96eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#97279b",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 297.931,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49607,
    "c": 0.19598,
    "h": 326.5
  },
  "luminance": 0.10397
}

Semantic roles & 50–950 ramp

primary
#97279B
secondary
#63BE60
accent
#E3454A
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #97279B

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

Preview Lab → · Contrast checker → · Palette generator →

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