#97278C#97278C

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

Color values

HEX#97278C
RGBrgb(151, 39, 140)
HSLhsl(306, 59%, 37%)
HSVhsv(306, 74%, 59%)
CMYKcmyk(0%, 74.2%, 7.3%, 40.8%)
CIE-LABlab(37.71, 56.81, -31.10)
CIE-LCHlch(37.71, 64.76, 331.30°)
OKLaboklab(48.73% 0.1633 -0.0855)
OKLCHoklch(48.73% 0.184 332.4)
XYZxyz(18.2217, 9.9253, 25.7619)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97278C #279732
analogous
#6A2797 #97278C #972754
triadic
#97278C #8C9727 #278C97
tetradic
#97278C #976A27 #279732 #275497
square
#97278C #976A27 #279732 #275497
split-complementary
#97278C #549727 #27976A
monochromatic
#360E32 #661A5F #97278C #C834B9 #D662CB

Accessibility & contrast

On white

7.04
#97278C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97278C
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97278C#FFFFFF#000000##FFFFFF
##97278C1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204F8F
Deuteranopia (green-blind)
#4C5E89
Tritanopia (blue-blind)
#9E3357
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #97278c;
/* rgb */ color: rgb(151, 39, 140);
/* oklch */ color: oklch(48.7% 0.184 332.4);
Tailwind
colors: {
  custom: {
    50: '#b96dae',
    500: '#97278c',
    950: '#000000',
  },
}
SCSS
$custom: #97278c;
$custom-light: #b96dae;
$custom-dark: #000000;
JSON
{
  "hex": "#97278c",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 140
  },
  "hsl": {
    "h": 305.893,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48734,
    "c": 0.18429,
    "h": 332.4
  },
  "luminance": 0.09924
}

Semantic roles & 50–950 ramp

primary
#97278C
secondary
#5EBC67
accent
#E25546
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #97278C

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

Preview Lab → · Contrast checker → · Palette generator →

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