#97308A#97308A

#97308A is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.5% C 0.172 H 333.3°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#97308A
RGBrgb(151, 48, 138)
HSLhsl(308, 52%, 39%)
HSVhsv(308, 68%, 59%)
CMYKcmyk(0%, 68.2%, 8.6%, 40.8%)
CIE-LABlab(38.78, 53.17, -28.19)
CIE-LCHlch(38.78, 60.18, 332.07°)
OKLaboklab(49.47% 0.1535 -0.0772)
OKLCHoklch(49.47% 0.172 333.3)
XYZxyz(18.4070, 10.5297, 25.1028)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97308A #30973D
analogous
#713097 #97308A #973057
triadic
#97308A #8A9730 #308A97
tetradic
#97308A #977130 #30973D #305797
square
#97308A #977130 #30973D #305797
split-complementary
#97308A #579730 #309771
monochromatic
#3A1235 #692160 #97308A #C341B2 #D270C5

Accessibility & contrast

On white

6.76
#97308A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#97308A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97308A
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97308A#FFFFFF#000000##FFFFFF
##97308A1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528D
Deuteranopia (green-blind)
#506187
Tritanopia (blue-blind)
#9E3959
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #97308a;
/* rgb */ color: rgb(151, 48, 138);
/* oklch */ color: oklch(49.5% 0.172 333.3);
Tailwind
colors: {
  custom: {
    50: '#b971ac',
    500: '#97308a',
    950: '#000000',
  },
}
SCSS
$custom: #97308a;
$custom-light: #b971ac;
$custom-dark: #000000;
JSON
{
  "hex": "#97308a",
  "rgb": {
    "r": 151,
    "g": 48,
    "b": 138
  },
  "hsl": {
    "h": 307.573,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49472,
    "c": 0.17178,
    "h": 333.3
  },
  "luminance": 0.10528
}

Semantic roles & 50–950 ramp

primary
#97308A
secondary
#6AB974
accent
#DB5F4D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #97308A

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

Preview Lab → · Contrast checker → · Palette generator →

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