#97278B#97278B

#97278B is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.184 H 332.8°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#97278B
RGBrgb(151, 39, 139)
HSLhsl(306, 59%, 37%)
HSVhsv(306, 74%, 59%)
CMYKcmyk(0%, 74.2%, 7.9%, 40.8%)
CIE-LABlab(37.65, 56.65, -30.57)
CIE-LCHlch(37.65, 64.37, 331.65°)
OKLaboklab(48.68% 0.1632 -0.0839)
OKLCHoklch(48.68% 0.184 332.8)
XYZxyz(18.1483, 9.8959, 25.3754)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97278B #279733
analogous
#6B2797 #97278B #972753
triadic
#97278B #8B9727 #278B97
tetradic
#97278B #976B27 #279733 #275397
square
#97278B #976B27 #279733 #275397
split-complementary
#97278B #539727 #27976B
monochromatic
#360E31 #661A5E #97278B #C834B8 #D662CA

Accessibility & contrast

On white

7.05
#97278B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#97278B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97278B
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97278B#FFFFFF#000000##FFFFFF
##97278B1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214E8E
Deuteranopia (green-blind)
#4C5E88
Tritanopia (blue-blind)
#9E3356
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #97278b;
/* rgb */ color: rgb(151, 39, 139);
/* oklch */ color: oklch(48.7% 0.184 332.8);
Tailwind
colors: {
  custom: {
    50: '#b96dad',
    500: '#97278b',
    950: '#000000',
  },
}
SCSS
$custom: #97278b;
$custom-light: #b96dad;
$custom-dark: #000000;
JSON
{
  "hex": "#97278b",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 306.429,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48679,
    "c": 0.18353,
    "h": 332.8
  },
  "luminance": 0.09894
}

Semantic roles & 50–950 ramp

primary
#97278B
secondary
#5EBC68
accent
#E25646
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #97278B

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

Preview Lab → · Contrast checker → · Palette generator →

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