#974FBB#974FBB

#974FBB is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.1% C 0.172 H 313.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#974FBB
RGBrgb(151, 79, 187)
HSLhsl(280, 44%, 52%)
HSVhsv(280, 58%, 73%)
CMYKcmyk(19.3%, 57.8%, 0%, 26.7%)
CIE-LABlab(46.66, 48.25, -44.98)
CIE-LCHlch(46.66, 65.96, 317.01°)
OKLaboklab(56.07% 0.1174 -0.1261)
OKLCHoklch(56.07% 0.172 313)
XYZxyz(24.5266, 15.7598, 48.7540)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974FBB #73BB4F
analogous
#614FBB #974FBB #BB4FA9
triadic
#974FBB #BB974F #4FBB97
tetradic
#974FBB #BB614F #73BB4F #4FA9BB
square
#974FBB #BB614F #73BB4F #4FA9BB
split-complementary
#974FBB #A9BB4F #4FBB61
monochromatic
#522868 #763994 #974FBB #B17BCC #CBA7DD

Accessibility & contrast

On white

5.06
#974FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#974FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974FBB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974FBB#FFFFFF#000000##FFFFFF
##974FBB1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6BBE
Deuteranopia (green-blind)
#4A70B8
Tritanopia (blue-blind)
#93627D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #974fbb;
/* rgb */ color: rgb(151, 79, 187);
/* oklch */ color: oklch(56.1% 0.172 313.0);
Tailwind
colors: {
  custom: {
    50: '#b884d0',
    500: '#974fbb',
    950: '#000000',
  },
}
SCSS
$custom: #974fbb;
$custom-light: #b884d0;
$custom-dark: #000000;
JSON
{
  "hex": "#974fbb",
  "rgb": {
    "r": 151,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 280,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56065,
    "c": 0.17224,
    "h": 313
  },
  "luminance": 0.15759
}

Semantic roles & 50–950 ramp

primary
#974FBB
secondary
#ABCA9B
accent
#D4547F
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #974FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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