#97258C#97258C

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

Color values

HEX#97258C
RGBrgb(151, 37, 140)
HSLhsl(306, 61%, 37%)
HSVhsv(306, 75%, 59%)
CMYKcmyk(0%, 75.5%, 7.3%, 40.8%)
CIE-LABlab(37.48, 57.47, -31.47)
CIE-LCHlch(37.48, 65.52, 331.30°)
OKLaboklab(48.57% 0.1652 -0.0865)
OKLCHoklch(48.57% 0.186 332.4)
XYZxyz(18.1578, 9.7974, 25.7406)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97258C #259730
analogous
#692597 #97258C #972553
triadic
#97258C #8C9725 #258C97
tetradic
#97258C #976925 #259730 #255397
square
#97258C #976925 #259730 #255397
split-complementary
#97258C #539725 #259769
monochromatic
#350D31 #66195E #97258C #C831BA #D85FCC

Accessibility & contrast

On white

7.10
#97258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#97258C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97258C
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97258C#FFFFFF#000000##FFFFFF
##97258C1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4E8F
Deuteranopia (green-blind)
#4B5E89
Tritanopia (blue-blind)
#9E3256
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #97258c;
/* rgb */ color: rgb(151, 37, 140);
/* oklch */ color: oklch(48.6% 0.186 332.4);
Tailwind
colors: {
  custom: {
    50: '#b96cae',
    500: '#97258c',
    950: '#000000',
  },
}
SCSS
$custom: #97258c;
$custom-light: #b96cae;
$custom-dark: #000000;
JSON
{
  "hex": "#97258c",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 305.789,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48568,
    "c": 0.18648,
    "h": 332.4
  },
  "luminance": 0.09796
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #97258C

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

Preview Lab → · Contrast checker → · Palette generator →

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