#97529D#97529D

#97529D is a mid, vivid purple. Relative luminance 0.150; OKLCH L 54.9% C 0.136 H 324.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#97529D
RGBrgb(151, 82, 157)
HSLhsl(295, 31%, 47%)
HSVhsv(295, 48%, 62%)
CMYKcmyk(3.8%, 47.8%, 0%, 38.4%)
CIE-LABlab(45.70, 40.41, -28.83)
CIE-LCHlch(45.70, 49.64, 324.50°)
OKLaboklab(54.86% 0.11 -0.0793)
OKLCHoklch(54.86% 0.136 324.2)
XYZxyz(21.8650, 15.0492, 33.6448)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97529D #589D52
analogous
#72529D #97529D #9D527E
triadic
#97529D #9D9752 #529D97
tetradic
#97529D #9D7252 #589D52 #527E9D
square
#97529D #9D7252 #589D52 #527E9D
split-complementary
#97529D #7E9D52 #529D72
monochromatic
#4A284D #703D75 #97529D #B275B7 #C89DCC

Accessibility & contrast

On white

5.24
#97529D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#97529D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97529D
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97529D#FFFFFF#000000##FFFFFF
##97529D1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4967A0
Deuteranopia (green-blind)
#5D6F9B
Tritanopia (blue-blind)
#9A5B70
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #97529d;
/* rgb */ color: rgb(151, 82, 157);
/* oklch */ color: oklch(54.9% 0.136 324.2);
Tailwind
colors: {
  custom: {
    50: '#b785ba',
    500: '#97529d',
    950: '#000000',
  },
}
SCSS
$custom: #97529d;
$custom-light: #b785ba;
$custom-dark: #000000;
JSON
{
  "hex": "#97529d",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 157
  },
  "hsl": {
    "h": 295.2,
    "s": 31.381,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54856,
    "c": 0.13562,
    "h": 324.2
  },
  "luminance": 0.15048
}

Semantic roles & 50–950 ramp

primary
#97529D
secondary
#95B992
accent
#C86068
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110B11
muted
#807C80

Preview Lab

Preview with #97529D

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

Preview Lab → · Contrast checker → · Palette generator →

#97529D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva