#97239F#97239F

#97239F is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.5% C 0.203 H 325.2°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#97239F
RGBrgb(151, 35, 159)
HSLhsl(296, 64%, 38%)
HSVhsv(296, 78%, 62%)
CMYKcmyk(5%, 78%, 0%, 37.6%)
CIE-LABlab(38.35, 61.23, -41.64)
CIE-LCHlch(38.35, 74.05, 325.78°)
OKLaboklab(49.54% 0.1668 -0.116)
OKLCHoklch(49.54% 0.203 325.2)
XYZxyz(19.6211, 10.2859, 33.7461)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97239F #2B9F23
analogous
#59239F #97239F #9F2369
triadic
#97239F #9F9723 #239F97
tetradic
#97239F #9F5923 #2B9F23 #23699F
square
#97239F #9F5923 #2B9F23 #23699F
split-complementary
#97239F #699F23 #239F59
monochromatic
#380D3B #67186D #97239F #C72ED1 #D460DC

Accessibility & contrast

On white

6.87
#97239F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#97239F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97239F
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97239F#FFFFFF#000000##FFFFFF
##97239F1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#3F5F9C
Tritanopia (blue-blind)
#9A3A61
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #97239f;
/* rgb */ color: rgb(151, 35, 159);
/* oklch */ color: oklch(49.5% 0.203 325.2);
Tailwind
colors: {
  custom: {
    50: '#b96cbc',
    500: '#97239f',
    950: '#000000',
  },
}
SCSS
$custom: #97239f;
$custom-light: #b96cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#97239f",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 296.129,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49544,
    "c": 0.20317,
    "h": 325.2
  },
  "luminance": 0.10285
}

Semantic roles & 50–950 ramp

primary
#97239F
secondary
#63C15D
accent
#E7414C
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #97239F

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

Preview Lab → · Contrast checker → · Palette generator →

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