#97289C#97289C

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

Color values

HEX#97289C
RGBrgb(151, 40, 156)
HSLhsl(297, 59%, 38%)
HSVhsv(297, 74%, 61%)
CMYKcmyk(3.2%, 74.4%, 0%, 38.8%)
CIE-LABlab(38.72, 59.13, -39.23)
CIE-LCHlch(38.72, 70.96, 326.44°)
OKLaboklab(49.75% 0.1625 -0.109)
OKLCHoklch(49.75% 0.196 326.1)
XYZxyz(19.5217, 10.4985, 32.4442)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97289C #2D9C28
analogous
#5D289C #97289C #9C2867
triadic
#97289C #9C9728 #289C97
tetradic
#97289C #9C5D28 #2D9C28 #28679C
square
#97289C #9C5D28 #2D9C28 #28679C
split-complementary
#97289C #679C28 #289C5D
monochromatic
#390F3B #681C6B #97289C #C536CB #D367D8

Accessibility & contrast

On white

6.78
#97289C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#97289C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97289C
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97289C#FFFFFF#000000##FFFFFF
##97289C1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97289c;
/* rgb */ color: rgb(151, 40, 156);
/* oklch */ color: oklch(49.8% 0.196 326.1);
Tailwind
colors: {
  custom: {
    50: '#b96eba',
    500: '#97289c',
    950: '#000000',
  },
}
SCSS
$custom: #97289c;
$custom-light: #b96eba;
$custom-dark: #000000;
JSON
{
  "hex": "#97289c",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 297.414,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49751,
    "c": 0.19571,
    "h": 326.1
  },
  "luminance": 0.10497
}

Semantic roles & 50–950 ramp

primary
#97289C
secondary
#66BE62
accent
#E2454C
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #97289C

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

Preview Lab → · Contrast checker → · Palette generator →

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