#97308E#97308E

#97308E is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.7% C 0.175 H 331.6°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#97308E
RGBrgb(151, 48, 142)
HSLhsl(305, 52%, 39%)
HSVhsv(305, 68%, 59%)
CMYKcmyk(0%, 68.2%, 6%, 40.8%)
CIE-LABlab(38.98, 53.83, -30.32)
CIE-LCHlch(38.98, 61.78, 330.61°)
OKLaboklab(49.69% 0.1538 -0.0833)
OKLCHoklch(49.69% 0.175 331.6)
XYZxyz(18.7019, 10.6476, 26.6561)
Luminance0.1065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97308E #309739
analogous
#6D3097 #97308E #97305B
triadic
#97308E #8E9730 #308E97
tetradic
#97308E #976D30 #309739 #305B97
square
#97308E #976D30 #309739 #305B97
split-complementary
#97308E #5B9730 #30976D
monochromatic
#3A1237 #692162 #97308E #C341B7 #D270C9

Accessibility & contrast

On white

6.71
#97308E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#97308E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97308E
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97308E#FFFFFF#000000##FFFFFF
##97308E1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5391
Deuteranopia (green-blind)
#4F618B
Tritanopia (blue-blind)
#9D3B5B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #97308e;
/* rgb */ color: rgb(151, 48, 142);
/* oklch */ color: oklch(49.7% 0.175 331.6);
Tailwind
colors: {
  custom: {
    50: '#b971af',
    500: '#97308e',
    950: '#000000',
  },
}
SCSS
$custom: #97308e;
$custom-light: #b971af;
$custom-dark: #000000;
JSON
{
  "hex": "#97308e",
  "rgb": {
    "r": 151,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 305.243,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49686,
    "c": 0.17493,
    "h": 331.6
  },
  "luminance": 0.10646
}

Semantic roles & 50–950 ramp

primary
#97308E
secondary
#6AB971
accent
#DB594D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #97308E

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

Preview Lab → · Contrast checker → · Palette generator →

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