#974BBD#974BBD

#974BBD is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.6% C 0.180 H 312.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#974BBD
RGBrgb(151, 75, 189)
HSLhsl(280, 46%, 52%)
HSVhsv(280, 60%, 74%)
CMYKcmyk(20.1%, 60.3%, 0%, 25.9%)
CIE-LABlab(46.02, 50.70, -47.15)
CIE-LCHlch(46.02, 69.24, 317.08°)
OKLaboklab(55.64% 0.1225 -0.1324)
OKLCHoklch(55.64% 0.18 312.8)
XYZxyz(24.4623, 15.2862, 49.7962)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974BBD #71BD4B
analogous
#5E4BBD #974BBD #BD4BAA
triadic
#974BBD #BD974B #4BBD97
tetradic
#974BBD #BD5E4B #71BD4B #4BAABD
square
#974BBD #BD5E4B #71BD4B #4BAABD
split-complementary
#974BBD #AABD4B #4BBD5E
monochromatic
#522668 #753694 #974BBD #B178CD #CBA5DE

Accessibility & contrast

On white

5.18
#974BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#974BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974BBD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974BBD#FFFFFF#000000##FFFFFF
##974BBD1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2369C1
Deuteranopia (green-blind)
#446FBA
Tritanopia (blue-blind)
#93607D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #974bbd;
/* rgb */ color: rgb(151, 75, 189);
/* oklch */ color: oklch(55.6% 0.180 312.8);
Tailwind
colors: {
  custom: {
    50: '#b981d1',
    500: '#974bbd',
    950: '#000000',
  },
}
SCSS
$custom: #974bbd;
$custom-light: #b981d1;
$custom-dark: #000000;
JSON
{
  "hex": "#974bbd",
  "rgb": {
    "r": 151,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 280,
    "s": 46.341,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5564,
    "c": 0.1804,
    "h": 312.8
  },
  "luminance": 0.15286
}

Semantic roles & 50–950 ramp

primary
#974BBD
secondary
#AACB99
accent
#D6527E
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #974BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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