#97318E#97318E

#97318E is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.8% C 0.174 H 331.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#97318E
RGBrgb(151, 49, 142)
HSLhsl(305, 51%, 39%)
HSVhsv(305, 68%, 59%)
CMYKcmyk(0%, 67.5%, 6%, 40.8%)
CIE-LABlab(39.12, 53.43, -30.10)
CIE-LCHlch(39.12, 61.33, 330.61°)
OKLaboklab(49.79% 0.1527 -0.0826)
OKLCHoklch(49.79% 0.174 331.6)
XYZxyz(18.7433, 10.7304, 26.6699)
Luminance0.1073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97318E #31973A
analogous
#6D3197 #97318E #97315B
triadic
#97318E #8E9731 #318E97
tetradic
#97318E #976D31 #31973A #315B97
square
#97318E #976D31 #31973A #315B97
split-complementary
#97318E #5B9731 #31976D
monochromatic
#3B1337 #692263 #97318E #C243B7 #D171C9

Accessibility & contrast

On white

6.68
#97318E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#97318E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97318E
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97318E#FFFFFF#000000##FFFFFF
##97318E1.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5391
Deuteranopia (green-blind)
#4F618B
Tritanopia (blue-blind)
#9D3B5B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #97318e;
/* rgb */ color: rgb(151, 49, 142);
/* oklch */ color: oklch(49.8% 0.174 331.6);
Tailwind
colors: {
  custom: {
    50: '#b972af',
    500: '#97318e',
    950: '#000000',
  },
}
SCSS
$custom: #97318e;
$custom-light: #b972af;
$custom-dark: #000000;
JSON
{
  "hex": "#97318e",
  "rgb": {
    "r": 151,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 305.294,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49789,
    "c": 0.17362,
    "h": 331.6
  },
  "luminance": 0.10729
}

Semantic roles & 50–950 ramp

primary
#97318E
secondary
#6BB972
accent
#DA5A4D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #97318E

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

Preview Lab → · Contrast checker → · Palette generator →

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