#97338D#97338D

#97338D is a mid, vivid purple. Relative luminance 0.109; OKLCH L 49.9% C 0.170 H 332.0°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#97338D
RGBrgb(151, 51, 141)
HSLhsl(306, 50%, 40%)
HSVhsv(306, 66%, 59%)
CMYKcmyk(0%, 66.2%, 6.6%, 40.8%)
CIE-LABlab(39.36, 52.45, -29.11)
CIE-LCHlch(39.36, 59.99, 330.97°)
OKLaboklab(49.95% 0.1502 -0.0798)
OKLCHoklch(49.95% 0.17 332)
XYZxyz(18.7540, 10.8715, 26.3048)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97338D #33973D
analogous
#6F3397 #97338D #97335B
triadic
#97338D #8D9733 #338D97
tetradic
#97338D #976F33 #33973D #335B97
square
#97338D #976F33 #33973D #335B97
split-complementary
#97338D #5B9733 #33976F
monochromatic
#3C1438 #692462 #97338D #C147B4 #D074C7

Accessibility & contrast

On white

6.62
#97338D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#97338D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97338D
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97338D#FFFFFF#000000##FFFFFF
##97338D1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5490
Deuteranopia (green-blind)
#51628A
Tritanopia (blue-blind)
#9D3C5B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #97338d;
/* rgb */ color: rgb(151, 51, 141);
/* oklch */ color: oklch(49.9% 0.170 332.0);
Tailwind
colors: {
  custom: {
    50: '#b973ae',
    500: '#97338d',
    950: '#000000',
  },
}
SCSS
$custom: #97338d;
$custom-light: #b973ae;
$custom-dark: #000000;
JSON
{
  "hex": "#97338d",
  "rgb": {
    "r": 151,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 306,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49947,
    "c": 0.17012,
    "h": 332
  },
  "luminance": 0.1087
}

Semantic roles & 50–950 ramp

primary
#97338D
secondary
#6DB875
accent
#D95D4F
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #97338D

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

Preview Lab → · Contrast checker → · Palette generator →

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