#97308C#97308C

#97308C is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.6% C 0.173 H 332.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#97308C
RGBrgb(151, 48, 140)
HSLhsl(306, 52%, 39%)
HSVhsv(306, 68%, 59%)
CMYKcmyk(0%, 68.2%, 7.3%, 40.8%)
CIE-LABlab(38.88, 53.50, -29.26)
CIE-LCHlch(38.88, 60.98, 331.33°)
OKLaboklab(49.58% 0.1537 -0.0802)
OKLCHoklch(49.58% 0.173 332.4)
XYZxyz(18.5531, 10.5881, 25.8724)
Luminance0.1059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97308C #30973B
analogous
#6F3097 #97308C #973059
triadic
#97308C #8C9730 #308C97
tetradic
#97308C #976F30 #30973B #305997
square
#97308C #976F30 #30973B #305997
split-complementary
#97308C #599730 #30976F
monochromatic
#3A1236 #692161 #97308C #C341B5 #D270C7

Accessibility & contrast

On white

6.74
#97308C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#97308C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97308C
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97308C#FFFFFF#000000##FFFFFF
##97308C1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B528F
Deuteranopia (green-blind)
#506189
Tritanopia (blue-blind)
#9D3A5A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #97308c;
/* rgb */ color: rgb(151, 48, 140);
/* oklch */ color: oklch(49.6% 0.173 332.4);
Tailwind
colors: {
  custom: {
    50: '#b971ae',
    500: '#97308c',
    950: '#000000',
  },
}
SCSS
$custom: #97308c;
$custom-light: #b971ae;
$custom-dark: #000000;
JSON
{
  "hex": "#97308c",
  "rgb": {
    "r": 151,
    "g": 48,
    "b": 140
  },
  "hsl": {
    "h": 306.408,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49578,
    "c": 0.17334,
    "h": 332.4
  },
  "luminance": 0.10587
}

Semantic roles & 50–950 ramp

primary
#97308C
secondary
#6AB972
accent
#DB5C4D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #97308C

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

Preview Lab → · Contrast checker → · Palette generator →

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