#974CB5#974CB5

#974CB5 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.3% C 0.170 H 315.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#974CB5
RGBrgb(151, 76, 181)
HSLhsl(283, 42%, 50%)
HSVhsv(283, 58%, 71%)
CMYKcmyk(16.6%, 58%, 0%, 29%)
CIE-LABlab(45.75, 48.48, -42.92)
CIE-LCHlch(45.75, 64.75, 318.48°)
OKLaboklab(55.29% 0.121 -0.12)
OKLCHoklch(55.29% 0.17 315.2)
XYZxyz(23.6861, 15.0851, 45.3711)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974CB5 #6AB54C
analogous
#624CB5 #974CB5 #B54C9E
triadic
#974CB5 #B5974C #4CB597
tetradic
#974CB5 #B5624C #6AB54C #4C9EB5
square
#974CB5 #B5624C #6AB54C #4C9EB5
split-complementary
#974CB5 #9EB54C #4CB562
monochromatic
#4F275F #73398B #974CB5 #B077C7 #C9A3D9

Accessibility & contrast

On white

5.23
#974CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#974CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974CB5
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974CB5#FFFFFF#000000##FFFFFF
##974CB51.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F68B8
Deuteranopia (green-blind)
#4B6EB2
Tritanopia (blue-blind)
#955E79
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #974cb5;
/* rgb */ color: rgb(151, 76, 181);
/* oklch */ color: oklch(55.3% 0.170 315.2);
Tailwind
colors: {
  custom: {
    50: '#b882cc',
    500: '#974cb5',
    950: '#000000',
  },
}
SCSS
$custom: #974cb5;
$custom-light: #b882cc;
$custom-dark: #000000;
JSON
{
  "hex": "#974cb5",
  "rgb": {
    "r": 151,
    "g": 76,
    "b": 181
  },
  "hsl": {
    "h": 282.857,
    "s": 41.502,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55293,
    "c": 0.17047,
    "h": 315.2
  },
  "luminance": 0.15084
}

Semantic roles & 50–950 ramp

primary
#974CB5
secondary
#A4C697
accent
#D1567A
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B13
muted
#817C82

Preview Lab

Preview with #974CB5

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

Preview Lab → · Contrast checker → · Palette generator →

#974CB5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva