#97308B#97308B

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

Color values

HEX#97308B
RGBrgb(151, 48, 139)
HSLhsl(307, 52%, 39%)
HSVhsv(307, 68%, 59%)
CMYKcmyk(0%, 68.2%, 7.9%, 40.8%)
CIE-LABlab(38.83, 53.34, -28.73)
CIE-LCHlch(38.83, 60.58, 331.69°)
OKLaboklab(49.53% 0.1536 -0.0787)
OKLCHoklch(49.53% 0.173 332.9)
XYZxyz(18.4797, 10.5588, 25.4858)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97308B #30973C
analogous
#703097 #97308B #973058
triadic
#97308B #8B9730 #308B97
tetradic
#97308B #977030 #30973C #305897
square
#97308B #977030 #30973C #305897
split-complementary
#97308B #589730 #309770
monochromatic
#3A1236 #692160 #97308B #C341B4 #D270C6

Accessibility & contrast

On white

6.75
#97308B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #97308B
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97308B#FFFFFF#000000##FFFFFF
##97308B1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97308b;
/* rgb */ color: rgb(151, 48, 139);
/* oklch */ color: oklch(49.5% 0.173 332.9);
Tailwind
colors: {
  custom: {
    50: '#b971ad',
    500: '#97308b',
    950: '#000000',
  },
}
SCSS
$custom: #97308b;
$custom-light: #b971ad;
$custom-dark: #000000;
JSON
{
  "hex": "#97308b",
  "rgb": {
    "r": 151,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 306.99,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49525,
    "c": 0.17256,
    "h": 332.9
  },
  "luminance": 0.10557
}

Semantic roles & 50–950 ramp

primary
#97308B
secondary
#6AB973
accent
#DB5D4D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #97308B

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

Preview Lab → · Contrast checker → · Palette generator →

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