#974AAA#974AAA

#974AAA is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.4% C 0.162 H 319.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#974AAA
RGBrgb(151, 74, 170)
HSLhsl(288, 39%, 48%)
HSVhsv(288, 56%, 67%)
CMYKcmyk(11.2%, 56.5%, 0%, 33.3%)
CIE-LABlab(44.77, 47.19, -38.00)
CIE-LCHlch(44.77, 60.59, 321.16°)
OKLaboklab(54.38% 0.123 -0.1057)
OKLCHoklch(54.38% 0.162 319.3)
XYZxyz(22.4660, 14.3801, 39.6146)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974AAA #5DAA4A
analogous
#674AAA #974AAA #AA4A8D
triadic
#974AAA #AA974A #4AAA97
tetradic
#974AAA #AA674A #5DAA4A #4A8DAA
square
#974AAA #AA674A #5DAA4A #4A8DAA
split-complementary
#974AAA #8DAA4A #4AAA67
monochromatic
#4B2555 #71377F #974AAA #B170C1 #C89BD3

Accessibility & contrast

On white

5.42
#974AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#974AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974AAA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974AAA#FFFFFF#000000##FFFFFF
##974AAA1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3665AD
Deuteranopia (green-blind)
#506DA7
Tritanopia (blue-blind)
#975973
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #974aaa;
/* rgb */ color: rgb(151, 74, 170);
/* oklch */ color: oklch(54.4% 0.162 319.3);
Tailwind
colors: {
  custom: {
    50: '#b880c4',
    500: '#974aaa',
    950: '#000000',
  },
}
SCSS
$custom: #974aaa;
$custom-light: #b880c4;
$custom-dark: #000000;
JSON
{
  "hex": "#974aaa",
  "rgb": {
    "r": 151,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 288.125,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54382,
    "c": 0.16221,
    "h": 319.3
  },
  "luminance": 0.14379
}

Semantic roles & 50–950 ramp

primary
#974AAA
secondary
#99C090
accent
#CF5970
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120A12
muted
#817C81

Preview Lab

Preview with #974AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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