#97279E#97279E

#97279E is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.198 H 325.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#97279E
RGBrgb(151, 39, 158)
HSLhsl(296, 60%, 39%)
HSVhsv(296, 75%, 62%)
CMYKcmyk(4.4%, 75.3%, 0%, 38%)
CIE-LABlab(38.73, 59.81, -40.44)
CIE-LCHlch(38.73, 72.20, 325.94°)
OKLaboklab(49.79% 0.1634 -0.1125)
OKLCHoklch(49.79% 0.198 325.4)
XYZxyz(19.6591, 10.5003, 33.3324)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97279E #2E9E27
analogous
#5B279E #97279E #9E2769
triadic
#97279E #9E9727 #279E97
tetradic
#97279E #9E5B27 #2E9E27 #27699E
square
#97279E #9E5B27 #2E9E27 #27699E
split-complementary
#97279E #699E27 #279E5B
monochromatic
#390F3C #681B6D #97279E #C435CD #D266D9

Accessibility & contrast

On white

6.77
#97279E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#97279E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97279E
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97279E#FFFFFF#000000##FFFFFF
##97279E1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#41609B
Tritanopia (blue-blind)
#9B3C61
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #97279e;
/* rgb */ color: rgb(151, 39, 158);
/* oklch */ color: oklch(49.8% 0.198 325.4);
Tailwind
colors: {
  custom: {
    50: '#b96ebb',
    500: '#97279e',
    950: '#000000',
  },
}
SCSS
$custom: #97279e;
$custom-light: #b96ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#97279e",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 296.471,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49791,
    "c": 0.19838,
    "h": 325.4
  },
  "luminance": 0.10499
}

Semantic roles & 50–950 ramp

primary
#97279E
secondary
#67BF62
accent
#E4444E
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #97279E

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

Preview Lab → · Contrast checker → · Palette generator →

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