#97308F#97308F

#97308F is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.7% C 0.176 H 331.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#97308F
RGBrgb(151, 48, 143)
HSLhsl(305, 52%, 39%)
HSVhsv(305, 68%, 59%)
CMYKcmyk(0%, 68.2%, 5.3%, 40.8%)
CIE-LABlab(39.03, 54.00, -30.85)
CIE-LCHlch(39.03, 62.19, 330.26°)
OKLaboklab(49.74% 0.1539 -0.0848)
OKLCHoklch(49.74% 0.176 331.1)
XYZxyz(18.7773, 10.6778, 27.0533)
Luminance0.1068 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97308F #309738
analogous
#6C3097 #97308F #97305C
triadic
#97308F #8F9730 #308F97
tetradic
#97308F #976C30 #309738 #305C97
square
#97308F #976C30 #309738 #305C97
split-complementary
#97308F #5C9730 #30976C
monochromatic
#3A1237 #692163 #97308F #C341B9 #D270CA

Accessibility & contrast

On white

6.70
#97308F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#97308F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97308F
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97308F#FFFFFF#000000##FFFFFF
##97308F1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295392
Deuteranopia (green-blind)
#4E618C
Tritanopia (blue-blind)
#9D3B5B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #97308f;
/* rgb */ color: rgb(151, 48, 143);
/* oklch */ color: oklch(49.7% 0.176 331.1);
Tailwind
colors: {
  custom: {
    50: '#b971b0',
    500: '#97308f',
    950: '#000000',
  },
}
SCSS
$custom: #97308f;
$custom-light: #b971b0;
$custom-dark: #000000;
JSON
{
  "hex": "#97308f",
  "rgb": {
    "r": 151,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 304.66,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4974,
    "c": 0.17573,
    "h": 331.1
  },
  "luminance": 0.10676
}

Semantic roles & 50–950 ramp

primary
#97308F
secondary
#6AB970
accent
#DB584D
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #97308F

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

Preview Lab → · Contrast checker → · Palette generator →

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