#974ABD#974ABD

#974ABD is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.5% C 0.182 H 312.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#974ABD
RGBrgb(151, 74, 189)
HSLhsl(280, 47%, 52%)
HSVhsv(280, 61%, 74%)
CMYKcmyk(20.1%, 60.8%, 0%, 25.9%)
CIE-LABlab(45.84, 51.20, -47.44)
CIE-LCHlch(45.84, 69.80, 317.18°)
OKLaboklab(55.51% 0.1238 -0.1332)
OKLCHoklch(55.51% 0.182 312.9)
XYZxyz(24.3950, 15.1516, 49.7737)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974ABD #70BD4A
analogous
#5E4ABD #974ABD #BD4AAA
triadic
#974ABD #BD974A #4ABD97
tetradic
#974ABD #BD5E4A #70BD4A #4AAABD
square
#974ABD #BD5E4A #70BD4A #4AAABD
split-complementary
#974ABD #AABD4A #4ABD5E
monochromatic
#512667 #753694 #974ABD #B177CD #CBA4DE

Accessibility & contrast

On white

5.21
#974ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#974ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974ABD
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974ABD#FFFFFF#000000##FFFFFF
##974ABD1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2168C1
Deuteranopia (green-blind)
#436EBA
Tritanopia (blue-blind)
#935F7D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #974abd;
/* rgb */ color: rgb(151, 74, 189);
/* oklch */ color: oklch(55.5% 0.182 312.9);
Tailwind
colors: {
  custom: {
    50: '#b981d1',
    500: '#974abd',
    950: '#000000',
  },
}
SCSS
$custom: #974abd;
$custom-light: #b981d1;
$custom-dark: #000000;
JSON
{
  "hex": "#974abd",
  "rgb": {
    "r": 151,
    "g": 74,
    "b": 189
  },
  "hsl": {
    "h": 280.174,
    "s": 46.559,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55507,
    "c": 0.18186,
    "h": 312.9
  },
  "luminance": 0.15151
}

Semantic roles & 50–950 ramp

primary
#974ABD
secondary
#A9CB98
accent
#D6527D
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #974ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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