#974ACC#974ACC

#974ACC is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.5% C 0.198 H 308.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#974ACC
RGBrgb(151, 74, 204)
HSLhsl(276, 56%, 55%)
HSVhsv(276, 64%, 80%)
CMYKcmyk(26%, 63.7%, 0%, 20%)
CIE-LABlab(46.76, 54.51, -54.66)
CIE-LCHlch(46.76, 77.19, 314.92°)
OKLaboklab(56.47% 0.1234 -0.1544)
OKLCHoklch(56.47% 0.198 308.6)
XYZxyz(26.1082, 15.8369, 58.7965)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974ACC #7FCC4A
analogous
#564ACC #974ACC #CC4AC0
triadic
#974ACC #CC974A #4ACC97
tetradic
#974ACC #CC564A #7FCC4A #4AC0CC
square
#974ACC #CC564A #7FCC4A #4AC0CC
split-complementary
#974ACC #C0CC4A #4ACC56
monochromatic
#562279 #7830A9 #974ACC #B27AD9 #CEA9E7

Accessibility & contrast

On white

5.04
#974ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#974ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974ACC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974ACC#FFFFFF#000000##FFFFFF
##974ACC1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#3470C9
Tritanopia (blue-blind)
#8F6484
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #974acc;
/* rgb */ color: rgb(151, 74, 204);
/* oklch */ color: oklch(56.5% 0.198 308.6);
Tailwind
colors: {
  custom: {
    50: '#b981dc',
    500: '#974acc',
    950: '#000000',
  },
}
SCSS
$custom: #974acc;
$custom-light: #b981dc;
$custom-dark: #000000;
JSON
{
  "hex": "#974acc",
  "rgb": {
    "r": 151,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 275.538,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56467,
    "c": 0.19763,
    "h": 308.6
  },
  "luminance": 0.15837
}

Semantic roles & 50–950 ramp

primary
#974ACC
secondary
#B4D49D
accent
#DF4886
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #974ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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