#97299E#97299E

#97299E is a mid, vivid purple. Relative luminance 0.106; OKLCH L 50.0% C 0.196 H 325.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#97299E
RGBrgb(151, 41, 158)
HSLhsl(296, 59%, 39%)
HSVhsv(296, 74%, 62%)
CMYKcmyk(4.4%, 74.1%, 0%, 38%)
CIE-LABlab(38.96, 59.14, -40.07)
CIE-LCHlch(38.96, 71.44, 325.88°)
OKLaboklab(49.96% 0.1615 -0.1115)
OKLCHoklch(49.96% 0.196 325.4)
XYZxyz(19.7265, 10.6351, 33.3549)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97299E #309E29
analogous
#5D299E #97299E #9E296B
triadic
#97299E #9E9729 #299E97
tetradic
#97299E #9E5D29 #309E29 #296B9E
square
#97299E #9E5D29 #309E29 #296B9E
split-complementary
#97299E #6B9E29 #299E5D
monochromatic
#3A103D #691C6D #97299E #C339CC #D269D8

Accessibility & contrast

On white

6.72
#97299E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #97299E
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97299E#FFFFFF#000000##FFFFFF
##97299E1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0153A1
Deuteranopia (green-blind)
#42609B
Tritanopia (blue-blind)
#9B3D61
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #97299e;
/* rgb */ color: rgb(151, 41, 158);
/* oklch */ color: oklch(50.0% 0.196 325.4);
Tailwind
colors: {
  custom: {
    50: '#b96fbb',
    500: '#97299e',
    950: '#000000',
  },
}
SCSS
$custom: #97299e;
$custom-light: #b96fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#97299e",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 296.41,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49957,
    "c": 0.19625,
    "h": 325.4
  },
  "luminance": 0.10634
}

Semantic roles & 50–950 ramp

primary
#97299E
secondary
#6ABF64
accent
#E2464F
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #97299E

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

Preview Lab → · Contrast checker → · Palette generator →

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