#974BB1#974BB1

#974BB1 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 54.9% C 0.168 H 316.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#974BB1
RGBrgb(151, 75, 177)
HSLhsl(285, 40%, 49%)
HSVhsv(285, 58%, 69%)
CMYKcmyk(14.7%, 57.6%, 0%, 30.6%)
CIE-LABlab(45.34, 48.14, -41.22)
CIE-LCHlch(45.34, 63.38, 319.43°)
OKLaboklab(54.92% 0.1222 -0.1151)
OKLCHoklch(54.92% 0.168 316.7)
XYZxyz(23.2132, 14.7866, 43.2178)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974BB1 #65B14B
analogous
#644BB1 #974BB1 #B14B98
triadic
#974BB1 #B1974B #4BB197
tetradic
#974BB1 #B1644B #65B14B #4B98B1
square
#974BB1 #B1644B #65B14B #4B98B1
split-complementary
#974BB1 #98B14B #4BB164
monochromatic
#4E275B #723986 #974BB1 #B075C4 #C9A0D7

Accessibility & contrast

On white

5.31
#974BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#974BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974BB1
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974BB1#FFFFFF#000000##FFFFFF
##974BB11.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3167B4
Deuteranopia (green-blind)
#4D6EAE
Tritanopia (blue-blind)
#965C77
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #974bb1;
/* rgb */ color: rgb(151, 75, 177);
/* oklch */ color: oklch(54.9% 0.168 316.7);
Tailwind
colors: {
  custom: {
    50: '#b881c9',
    500: '#974bb1',
    950: '#000000',
  },
}
SCSS
$custom: #974bb1;
$custom-light: #b881c9;
$custom-dark: #000000;
JSON
{
  "hex": "#974bb1",
  "rgb": {
    "r": 151,
    "g": 75,
    "b": 177
  },
  "hsl": {
    "h": 284.706,
    "s": 40.476,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54921,
    "c": 0.16784,
    "h": 316.7
  },
  "luminance": 0.14786
}

Semantic roles & 50–950 ramp

primary
#974BB1
secondary
#A0C394
accent
#D05776
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #974BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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