#97299F#97299F

#97299F is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.197 H 325.0°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#97299F
RGBrgb(151, 41, 159)
HSLhsl(296, 59%, 39%)
HSVhsv(296, 74%, 62%)
CMYKcmyk(5%, 74.2%, 0%, 37.6%)
CIE-LABlab(39.02, 59.32, -40.57)
CIE-LCHlch(39.02, 71.87, 325.63°)
OKLaboklab(50.02% 0.1615 -0.113)
OKLCHoklch(50.02% 0.197 325)
XYZxyz(19.8130, 10.6697, 33.8100)
Luminance0.1067 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97299F #319F29
analogous
#5C299F #97299F #9F296C
triadic
#97299F #9F9729 #299F97
tetradic
#97299F #9F5C29 #319F29 #296C9F
square
#97299F #9F5C29 #319F29 #296C9F
split-complementary
#97299F #6C9F29 #299F5C
monochromatic
#3B103E #691C6E #97299F #C239CC #D16AD9

Accessibility & contrast

On white

6.70
#97299F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#97299F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97299F
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97299F#FFFFFF#000000##FFFFFF
##97299F1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#42609C
Tritanopia (blue-blind)
#9A3E62
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #97299f;
/* rgb */ color: rgb(151, 41, 159);
/* oklch */ color: oklch(50.0% 0.197 325.0);
Tailwind
colors: {
  custom: {
    50: '#b96fbc',
    500: '#97299f',
    950: '#000000',
  },
}
SCSS
$custom: #97299f;
$custom-light: #b96fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#97299f",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 295.932,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50019,
    "c": 0.19707,
    "h": 325
  },
  "luminance": 0.10668
}

Semantic roles & 50–950 ramp

primary
#97299F
secondary
#6BBF65
accent
#E24650
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #97299F

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

Preview Lab → · Contrast checker → · Palette generator →

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