#97258F#97258F

#97258F is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.189 H 331.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#97258F
RGBrgb(151, 37, 143)
HSLhsl(304, 61%, 37%)
HSVhsv(304, 75%, 59%)
CMYKcmyk(0%, 75.5%, 5.3%, 40.8%)
CIE-LABlab(37.64, 57.95, -33.05)
CIE-LCHlch(37.64, 66.71, 330.30°)
OKLaboklab(48.74% 0.1653 -0.0911)
OKLCHoklch(48.74% 0.189 331.2)
XYZxyz(18.3820, 9.8871, 26.9215)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97258F #25972D
analogous
#662597 #97258F #972556
triadic
#97258F #8F9725 #258F97
tetradic
#97258F #976625 #25972D #255697
square
#97258F #976625 #25972D #255697
split-complementary
#97258F #569725 #259766
monochromatic
#350D32 #661960 #97258F #C831BE #D85FCF

Accessibility & contrast

On white

7.05
#97258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#97258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97258F
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97258F#FFFFFF#000000##FFFFFF
##97258F1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4F92
Deuteranopia (green-blind)
#495E8C
Tritanopia (blue-blind)
#9D3358
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #97258f;
/* rgb */ color: rgb(151, 37, 143);
/* oklch */ color: oklch(48.7% 0.189 331.2);
Tailwind
colors: {
  custom: {
    50: '#b96cb0',
    500: '#97258f',
    950: '#000000',
  },
}
SCSS
$custom: #97258f;
$custom-light: #b96cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#97258f",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 304.211,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48737,
    "c": 0.18874,
    "h": 331.2
  },
  "luminance": 0.09886
}

Semantic roles & 50–950 ramp

primary
#97258F
secondary
#5BBD62
accent
#E44F44
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #97258F

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

Preview Lab → · Contrast checker → · Palette generator →

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