#97278D#97278D

#97278D is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.185 H 332.0°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#97278D
RGBrgb(151, 39, 141)
HSLhsl(305, 59%, 37%)
HSVhsv(305, 74%, 59%)
CMYKcmyk(0%, 74.2%, 6.6%, 40.8%)
CIE-LABlab(37.76, 56.97, -31.63)
CIE-LCHlch(37.76, 65.16, 330.96°)
OKLaboklab(48.79% 0.1633 -0.087)
OKLCHoklch(48.79% 0.185 332)
XYZxyz(18.2958, 9.9549, 26.1520)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97278D #279731
analogous
#692797 #97278D #972755
triadic
#97278D #8D9727 #278D97
tetradic
#97278D #976927 #279731 #275597
square
#97278D #976927 #279731 #275597
split-complementary
#97278D #559727 #279769
monochromatic
#360E32 #661A60 #97278D #C834BA #D662CC

Accessibility & contrast

On white

7.02
#97278D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#97278D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97278D
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97278D#FFFFFF#000000##FFFFFF
##97278D1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4F90
Deuteranopia (green-blind)
#4B5E8A
Tritanopia (blue-blind)
#9D3457
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #97278d;
/* rgb */ color: rgb(151, 39, 141);
/* oklch */ color: oklch(48.8% 0.185 332.0);
Tailwind
colors: {
  custom: {
    50: '#b96daf',
    500: '#97278d',
    950: '#000000',
  },
}
SCSS
$custom: #97278d;
$custom-light: #b96daf;
$custom-dark: #000000;
JSON
{
  "hex": "#97278d",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 305.357,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4879,
    "c": 0.18505,
    "h": 332
  },
  "luminance": 0.09953
}

Semantic roles & 50–950 ramp

primary
#97278D
secondary
#5EBC66
accent
#E25446
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #97278D

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

Preview Lab → · Contrast checker → · Palette generator →

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