#97338F#97338F

#97338F is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.1% C 0.172 H 331.1°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#97338F
RGBrgb(151, 51, 143)
HSLhsl(305, 50%, 40%)
HSVhsv(305, 66%, 59%)
CMYKcmyk(0%, 66.2%, 5.3%, 40.8%)
CIE-LABlab(39.46, 52.79, -30.17)
CIE-LCHlch(39.46, 60.80, 330.25°)
OKLaboklab(50.05% 0.1504 -0.0829)
OKLCHoklch(50.05% 0.172 331.1)
XYZxyz(18.9042, 10.9315, 27.0956)
Luminance0.1093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97338F #33973B
analogous
#6D3397 #97338F #97335D
triadic
#97338F #8F9733 #338F97
tetradic
#97338F #976D33 #33973B #335D97
square
#97338F #976D33 #33973B #335D97
split-complementary
#97338F #5D9733 #33976D
monochromatic
#3C1438 #692464 #97338F #C147B7 #D074C9

Accessibility & contrast

On white

6.59
#97338F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#97338F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97338F
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97338F#FFFFFF#000000##FFFFFF
##97338F1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5492
Deuteranopia (green-blind)
#50628C
Tritanopia (blue-blind)
#9D3D5C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #97338f;
/* rgb */ color: rgb(151, 51, 143);
/* oklch */ color: oklch(50.1% 0.172 331.1);
Tailwind
colors: {
  custom: {
    50: '#b973b0',
    500: '#97338f',
    950: '#000000',
  },
}
SCSS
$custom: #97338f;
$custom-light: #b973b0;
$custom-dark: #000000;
JSON
{
  "hex": "#97338f",
  "rgb": {
    "r": 151,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 304.8,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50053,
    "c": 0.17174,
    "h": 331.1
  },
  "luminance": 0.1093
}

Semantic roles & 50–950 ramp

primary
#97338F
secondary
#6DB873
accent
#D95A4F
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #97338F

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

Preview Lab → · Contrast checker → · Palette generator →

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