#97338E#97338E

#97338E is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.0% C 0.171 H 331.6°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#97338E
RGBrgb(151, 51, 142)
HSLhsl(305, 50%, 40%)
HSVhsv(305, 66%, 59%)
CMYKcmyk(0%, 66.2%, 6%, 40.8%)
CIE-LABlab(39.41, 52.62, -29.64)
CIE-LCHlch(39.41, 60.39, 330.61°)
OKLaboklab(50% 0.1503 -0.0813)
OKLCHoklch(50% 0.171 331.6)
XYZxyz(18.8288, 10.9014, 26.6984)
Luminance0.1090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97338E #33973C
analogous
#6E3397 #97338E #97335C
triadic
#97338E #8E9733 #338E97
tetradic
#97338E #976E33 #33973C #335C97
square
#97338E #976E33 #33973C #335C97
split-complementary
#97338E #5C9733 #33976E
monochromatic
#3C1438 #692463 #97338E #C147B6 #D074C8

Accessibility & contrast

On white

6.60
#97338E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#97338E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97338E
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97338E#FFFFFF#000000##FFFFFF
##97338E1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97338e;
/* rgb */ color: rgb(151, 51, 142);
/* oklch */ color: oklch(50.0% 0.171 331.6);
Tailwind
colors: {
  custom: {
    50: '#b973af',
    500: '#97338e',
    950: '#000000',
  },
}
SCSS
$custom: #97338e;
$custom-light: #b973af;
$custom-dark: #000000;
JSON
{
  "hex": "#97338e",
  "rgb": {
    "r": 151,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 305.4,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.5,
    "c": 0.17093,
    "h": 331.6
  },
  "luminance": 0.109
}

Semantic roles & 50–950 ramp

primary
#97338E
secondary
#6DB874
accent
#D95B4F
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #97338E

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

Preview Lab → · Contrast checker → · Palette generator →

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