#97278E#97278E

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

Color values

HEX#97278E
RGBrgb(151, 39, 142)
HSLhsl(305, 59%, 37%)
HSVhsv(305, 74%, 59%)
CMYKcmyk(0%, 74.2%, 6%, 40.8%)
CIE-LABlab(37.82, 57.13, -32.16)
CIE-LCHlch(37.82, 65.56, 330.62°)
OKLaboklab(48.85% 0.1634 -0.0885)
OKLCHoklch(48.85% 0.186 331.6)
XYZxyz(18.3705, 9.9848, 26.5457)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97278E #279730
analogous
#682797 #97278E #972756
triadic
#97278E #8E9727 #278E97
tetradic
#97278E #976827 #279730 #275697
square
#97278E #976827 #279730 #275697
split-complementary
#97278E #569727 #279768
monochromatic
#360E33 #661A60 #97278E #C834BC #D662CD

Accessibility & contrast

On white

7.01
#97278E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97278E
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97278E#FFFFFF#000000##FFFFFF
##97278E1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4F91
Deuteranopia (green-blind)
#4B5E8B
Tritanopia (blue-blind)
#9D3458
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #97278e;
/* rgb */ color: rgb(151, 39, 142);
/* oklch */ color: oklch(48.8% 0.186 331.6);
Tailwind
colors: {
  custom: {
    50: '#b96daf',
    500: '#97278e',
    950: '#000000',
  },
}
SCSS
$custom: #97278e;
$custom-light: #b96daf;
$custom-dark: #000000;
JSON
{
  "hex": "#97278e",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 304.821,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48846,
    "c": 0.18581,
    "h": 331.6
  },
  "luminance": 0.09983
}

Semantic roles & 50–950 ramp

primary
#97278E
secondary
#5EBC65
accent
#E25246
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #97278E

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

Preview Lab → · Contrast checker → · Palette generator →

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