#974299#974299

#974299 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.4% C 0.158 H 326.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#974299
RGBrgb(151, 66, 153)
HSLhsl(299, 40%, 43%)
HSVhsv(299, 57%, 60%)
CMYKcmyk(1.3%, 56.9%, 0%, 40%)
CIE-LABlab(42.42, 47.83, -31.57)
CIE-LCHlch(42.42, 57.31, 326.57°)
OKLaboklab(52.38% 0.1323 -0.087)
OKLCHoklch(52.38% 0.158 326.7)
XYZxyz(20.4601, 12.7768, 31.5193)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974299 #449942
analogous
#6C4299 #974299 #99426F
triadic
#974299 #999742 #429997
tetradic
#974299 #996C42 #449942 #426F99
square
#974299 #996C42 #449942 #426F99
split-complementary
#974299 #6F9942 #42996C
monochromatic
#431D43 #6D306E #974299 #B85EBA #CB89CC

Accessibility & contrast

On white

5.91
#974299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#974299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974299
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974299#FFFFFF#000000##FFFFFF
##9742991.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385D9C
Deuteranopia (green-blind)
#546897
Tritanopia (blue-blind)
#9B4D67
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #974299;
/* rgb */ color: rgb(151, 66, 153);
/* oklch */ color: oklch(52.4% 0.158 326.7);
Tailwind
colors: {
  custom: {
    50: '#b87bb7',
    500: '#974299',
    950: '#000000',
  },
}
SCSS
$custom: #974299;
$custom-light: #b87bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#974299",
  "rgb": {
    "r": 151,
    "g": 66,
    "b": 153
  },
  "hsl": {
    "h": 298.621,
    "s": 39.726,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52376,
    "c": 0.15833,
    "h": 326.7
  },
  "luminance": 0.12776
}

Semantic roles & 50–950 ramp

primary
#974299
secondary
#81B780
accent
#D0585B
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#120A11
muted
#817C80

Preview Lab

Preview with #974299

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

Preview Lab → · Contrast checker → · Palette generator →

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