#973098#973098

#973098 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.2% C 0.183 H 327.5°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#973098
RGBrgb(151, 48, 152)
HSLhsl(299, 52%, 39%)
HSVhsv(299, 68%, 60%)
CMYKcmyk(0.7%, 68.4%, 0%, 40.4%)
CIE-LABlab(39.52, 55.54, -35.56)
CIE-LCHlch(39.52, 65.94, 327.37°)
OKLaboklab(50.25% 0.1544 -0.0984)
OKLCHoklch(50.25% 0.183 327.5)
XYZxyz(19.4867, 10.9615, 30.7891)
Luminance0.1096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973098 #319830
analogous
#633098 #973098 #983065
triadic
#973098 #989730 #309897
tetradic
#973098 #986330 #319830 #306598
square
#973098 #986330 #319830 #306598
split-complementary
#973098 #659830 #309863
monochromatic
#3B133B #692169 #973098 #C242C3 #D170D2

Accessibility & contrast

On white

6.58
#973098 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#973098 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973098
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973098#FFFFFF#000000##FFFFFF
##9730981.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F559B
Deuteranopia (green-blind)
#496295
Tritanopia (blue-blind)
#9C3F60
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #973098;
/* rgb */ color: rgb(151, 48, 152);
/* oklch */ color: oklch(50.2% 0.183 327.5);
Tailwind
colors: {
  custom: {
    50: '#b971b7',
    500: '#973098',
    950: '#000000',
  },
}
SCSS
$custom: #973098;
$custom-light: #b971b7;
$custom-dark: #000000;
JSON
{
  "hex": "#973098",
  "rgb": {
    "r": 151,
    "g": 48,
    "b": 152
  },
  "hsl": {
    "h": 299.423,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50246,
    "c": 0.18308,
    "h": 327.5
  },
  "luminance": 0.1096
}

Semantic roles & 50–950 ramp

primary
#973098
secondary
#6BBA6A
accent
#DB4C4E
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #973098

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

Preview Lab → · Contrast checker → · Palette generator →

#973098 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva