#97339F#97339F

#97339F is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.0% C 0.185 H 324.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#97339F
RGBrgb(151, 51, 159)
HSLhsl(296, 51%, 41%)
HSVhsv(296, 68%, 62%)
CMYKcmyk(5%, 67.9%, 0%, 37.6%)
CIE-LABlab(40.33, 55.60, -38.49)
CIE-LCHlch(40.33, 67.62, 325.31°)
OKLaboklab(50.96% 0.1512 -0.1069)
OKLCHoklch(50.96% 0.185 324.7)
XYZxyz(20.2038, 11.4514, 33.9403)
Luminance0.1145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97339F #3B9F33
analogous
#61339F #97339F #9F3371
triadic
#97339F #9F9733 #339F97
tetradic
#97339F #9F6133 #3B9F33 #33719F
square
#97339F #9F6133 #3B9F33 #33719F
split-complementary
#97339F #719F33 #339F61
monochromatic
#3F1542 #6B2471 #97339F #BC4AC5 #CD79D4

Accessibility & contrast

On white

6.38
#97339F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#97339F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97339F
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97339F#FFFFFF#000000##FFFFFF
##97339F1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B57A2
Deuteranopia (green-blind)
#47639C
Tritanopia (blue-blind)
#9A4465
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #97339f;
/* rgb */ color: rgb(151, 51, 159);
/* oklch */ color: oklch(51.0% 0.185 324.7);
Tailwind
colors: {
  custom: {
    50: '#b973bc',
    500: '#97339f',
    950: '#000000',
  },
}
SCSS
$custom: #97339f;
$custom-light: #b973bc;
$custom-dark: #000000;
JSON
{
  "hex": "#97339f",
  "rgb": {
    "r": 151,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 295.556,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50959,
    "c": 0.18519,
    "h": 324.7
  },
  "luminance": 0.1145
}

Semantic roles & 50–950 ramp

primary
#97339F
secondary
#77BC71
accent
#DB4D57
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #97339F

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

Preview Lab → · Contrast checker → · Palette generator →

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