#97258E#97258E

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

Color values

HEX#97258E
RGBrgb(151, 37, 142)
HSLhsl(305, 61%, 37%)
HSVhsv(305, 75%, 59%)
CMYKcmyk(0%, 75.5%, 6%, 40.8%)
CIE-LABlab(37.58, 57.79, -32.52)
CIE-LCHlch(37.58, 66.31, 330.63°)
OKLaboklab(48.68% 0.1653 -0.0895)
OKLCHoklch(48.68% 0.188 331.6)
XYZxyz(18.3066, 9.8569, 26.5243)
Luminance0.0985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97258E #25972E
analogous
#672597 #97258E #972555
triadic
#97258E #8E9725 #258E97
tetradic
#97258E #976725 #25972E #255597
square
#97258E #976725 #25972E #255597
split-complementary
#97258E #559725 #259767
monochromatic
#350D32 #661960 #97258E #C831BC #D85FCE

Accessibility & contrast

On white

7.07
#97258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97258E
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97258E#FFFFFF#000000##FFFFFF
##97258E1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4E91
Deuteranopia (green-blind)
#4A5E8B
Tritanopia (blue-blind)
#9D3358
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #97258e;
/* rgb */ color: rgb(151, 37, 142);
/* oklch */ color: oklch(48.7% 0.188 331.6);
Tailwind
colors: {
  custom: {
    50: '#b96caf',
    500: '#97258e',
    950: '#000000',
  },
}
SCSS
$custom: #97258e;
$custom-light: #b96caf;
$custom-dark: #000000;
JSON
{
  "hex": "#97258e",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 304.737,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4868,
    "c": 0.18798,
    "h": 331.6
  },
  "luminance": 0.09855
}

Semantic roles & 50–950 ramp

primary
#97258E
secondary
#5BBD63
accent
#E45144
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #97258E

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

Preview Lab → · Contrast checker → · Palette generator →

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