#97338A#97338A

#97338A is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.8% C 0.168 H 333.4°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#97338A
RGBrgb(151, 51, 138)
HSLhsl(308, 50%, 40%)
HSVhsv(308, 66%, 59%)
CMYKcmyk(0%, 66.2%, 8.6%, 40.8%)
CIE-LABlab(39.21, 51.95, -27.51)
CIE-LCHlch(39.21, 58.79, 332.10°)
OKLaboklab(49.79% 0.1499 -0.0752)
OKLCHoklch(49.79% 0.168 333.4)
XYZxyz(18.5338, 10.7834, 25.1451)
Luminance0.1078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97338A #339740
analogous
#723397 #97338A #973358
triadic
#97338A #8A9733 #338A97
tetradic
#97338A #977233 #339740 #335897
square
#97338A #977233 #339740 #335897
split-complementary
#97338A #589733 #339772
monochromatic
#3C1436 #692460 #97338A #C147B1 #D074C4

Accessibility & contrast

On white

6.65
#97338A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#97338A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97338A
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97338A#FFFFFF#000000##FFFFFF
##97338A1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30538D
Deuteranopia (green-blind)
#526287
Tritanopia (blue-blind)
#9E3B5A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #97338a;
/* rgb */ color: rgb(151, 51, 138);
/* oklch */ color: oklch(49.8% 0.168 333.4);
Tailwind
colors: {
  custom: {
    50: '#b972ac',
    500: '#97338a',
    950: '#000000',
  },
}
SCSS
$custom: #97338a;
$custom-light: #b972ac;
$custom-dark: #000000;
JSON
{
  "hex": "#97338a",
  "rgb": {
    "r": 151,
    "g": 51,
    "b": 138
  },
  "hsl": {
    "h": 307.8,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49789,
    "c": 0.16773,
    "h": 333.4
  },
  "luminance": 0.10782
}

Semantic roles & 50–950 ramp

primary
#97338A
secondary
#6DB877
accent
#D9614F
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #97338A

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

Preview Lab → · Contrast checker → · Palette generator →

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