#97299C#97299C

#97299C is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.195 H 326.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#97299C
RGBrgb(151, 41, 156)
HSLhsl(297, 58%, 39%)
HSVhsv(297, 74%, 61%)
CMYKcmyk(3.2%, 73.7%, 0%, 38.8%)
CIE-LABlab(38.84, 58.79, -39.05)
CIE-LCHlch(38.84, 70.58, 326.41°)
OKLaboklab(49.84% 0.1616 -0.1085)
OKLCHoklch(49.84% 0.195 326.1)
XYZxyz(19.5558, 10.5668, 32.4556)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97299C #2E9C29
analogous
#5D299C #97299C #9C2967
triadic
#97299C #9C9729 #299C97
tetradic
#97299C #9C5D29 #2E9C29 #29679C
square
#97299C #9C5D29 #2E9C29 #29679C
split-complementary
#97299C #679C29 #299C5D
monochromatic
#39103B #681C6C #97299C #C438CB #D268D7

Accessibility & contrast

On white

6.75
#97299C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#97299C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97299C
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97299C#FFFFFF#000000##FFFFFF
##97299C1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08539F
Deuteranopia (green-blind)
#446099
Tritanopia (blue-blind)
#9B3C60
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #97299c;
/* rgb */ color: rgb(151, 41, 156);
/* oklch */ color: oklch(49.8% 0.195 326.1);
Tailwind
colors: {
  custom: {
    50: '#b96eba',
    500: '#97299c',
    950: '#000000',
  },
}
SCSS
$custom: #97299c;
$custom-light: #b96eba;
$custom-dark: #000000;
JSON
{
  "hex": "#97299c",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 297.391,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49835,
    "c": 0.19463,
    "h": 326.1
  },
  "luminance": 0.10565
}

Semantic roles & 50–950 ramp

primary
#97299C
secondary
#67BE63
accent
#E2464D
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #97299C

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

Preview Lab → · Contrast checker → · Palette generator →

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