#97258D#97258D

#97258D is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.187 H 332.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#97258D
RGBrgb(151, 37, 141)
HSLhsl(305, 61%, 37%)
HSVhsv(305, 75%, 59%)
CMYKcmyk(0%, 75.5%, 6.6%, 40.8%)
CIE-LABlab(37.53, 57.63, -31.99)
CIE-LCHlch(37.53, 65.91, 330.96°)
OKLaboklab(48.62% 0.1653 -0.088)
OKLCHoklch(48.62% 0.187 332)
XYZxyz(18.2318, 9.8270, 26.1307)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97258D #25972F
analogous
#682597 #97258D #972554
triadic
#97258D #8D9725 #258D97
tetradic
#97258D #976825 #25972F #255497
square
#97258D #976825 #25972F #255497
split-complementary
#97258D #549725 #259768
monochromatic
#350D31 #66195F #97258D #C831BB #D85FCD

Accessibility & contrast

On white

7.08
#97258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#97258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97258D
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97258D#FFFFFF#000000##FFFFFF
##97258D1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4E90
Deuteranopia (green-blind)
#4A5E8A
Tritanopia (blue-blind)
#9D3257
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #97258d;
/* rgb */ color: rgb(151, 37, 141);
/* oklch */ color: oklch(48.6% 0.187 332.0);
Tailwind
colors: {
  custom: {
    50: '#b96caf',
    500: '#97258d',
    950: '#000000',
  },
}
SCSS
$custom: #97258d;
$custom-light: #b96caf;
$custom-dark: #000000;
JSON
{
  "hex": "#97258d",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 305.263,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48624,
    "c": 0.18723,
    "h": 332
  },
  "luminance": 0.09826
}

Semantic roles & 50–950 ramp

primary
#97258D
secondary
#5BBD64
accent
#E45244
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #97258D

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

Preview Lab → · Contrast checker → · Palette generator →

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