#97249F#97249F

#97249F is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.202 H 325.1°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#97249F
RGBrgb(151, 36, 159)
HSLhsl(296, 63%, 38%)
HSVhsv(296, 77%, 62%)
CMYKcmyk(5%, 77.4%, 0%, 37.6%)
CIE-LABlab(38.46, 60.93, -41.47)
CIE-LCHlch(38.46, 73.71, 325.76°)
OKLaboklab(49.62% 0.1659 -0.1155)
OKLCHoklch(49.62% 0.202 325.1)
XYZxyz(19.6509, 10.3456, 33.7560)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97249F #2C9F24
analogous
#5A249F #97249F #9F2469
triadic
#97249F #9F9724 #249F97
tetradic
#97249F #9F5A24 #2C9F24 #24699F
square
#97249F #9F5A24 #2C9F24 #24699F
split-complementary
#97249F #699F24 #249F5A
monochromatic
#380D3B #68196D #97249F #C630D0 #D462DB

Accessibility & contrast

On white

6.84
#97249F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#97249F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97249F
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97249F#FFFFFF#000000##FFFFFF
##97249F1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#3F5F9C
Tritanopia (blue-blind)
#9A3B61
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #97249f;
/* rgb */ color: rgb(151, 36, 159);
/* oklch */ color: oklch(49.6% 0.202 325.1);
Tailwind
colors: {
  custom: {
    50: '#b96dbc',
    500: '#97249f',
    950: '#000000',
  },
}
SCSS
$custom: #97249f;
$custom-light: #b96dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#97249f",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 296.098,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49618,
    "c": 0.20221,
    "h": 325.1
  },
  "luminance": 0.10344
}

Semantic roles & 50–950 ramp

primary
#97249F
secondary
#65C15E
accent
#E6424C
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #97249F

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

Preview Lab → · Contrast checker → · Palette generator →

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