#97278F#97278F

#97278F is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.187 H 331.1°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#97278F
RGBrgb(151, 39, 143)
HSLhsl(304, 59%, 37%)
HSVhsv(304, 74%, 59%)
CMYKcmyk(0%, 74.2%, 5.3%, 40.8%)
CIE-LABlab(37.87, 57.29, -32.68)
CIE-LCHlch(37.87, 65.96, 330.29°)
OKLaboklab(48.9% 0.1634 -0.09)
OKLCHoklch(48.9% 0.187 331.1)
XYZxyz(18.4459, 10.0150, 26.9428)
Luminance0.1001 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97278F #27972F
analogous
#672797 #97278F #972757
triadic
#97278F #8F9727 #278F97
tetradic
#97278F #976727 #27972F #275797
square
#97278F #976727 #27972F #275797
split-complementary
#97278F #579727 #279767
monochromatic
#360E33 #661A61 #97278F #C834BD #D662CE

Accessibility & contrast

On white

6.99
#97278F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#97278F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97278F
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97278F#FFFFFF#000000##FFFFFF
##97278F1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4F92
Deuteranopia (green-blind)
#4A5F8C
Tritanopia (blue-blind)
#9D3559
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #97278f;
/* rgb */ color: rgb(151, 39, 143);
/* oklch */ color: oklch(48.9% 0.187 331.1);
Tailwind
colors: {
  custom: {
    50: '#b96db0',
    500: '#97278f',
    950: '#000000',
  },
}
SCSS
$custom: #97278f;
$custom-light: #b96db0;
$custom-dark: #000000;
JSON
{
  "hex": "#97278f",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 304.286,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48902,
    "c": 0.18657,
    "h": 331.1
  },
  "luminance": 0.10014
}

Semantic roles & 50–950 ramp

primary
#97278F
secondary
#5EBC65
accent
#E25146
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #97278F

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

Preview Lab → · Contrast checker → · Palette generator →

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