#974AD4#974AD4

#974AD4 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.0% C 0.206 H 306.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#974AD4
RGBrgb(151, 74, 212)
HSLhsl(273, 62%, 56%)
HSVhsv(273, 65%, 83%)
CMYKcmyk(28.8%, 65.1%, 0%, 16.9%)
CIE-LABlab(47.28, 56.32, -58.42)
CIE-LCHlch(47.28, 81.15, 313.95°)
OKLaboklab(57% 0.1228 -0.1654)
OKLCHoklch(57% 0.206 306.6)
XYZxyz(27.0924, 16.2306, 63.9802)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974AD4 #87D44A
analogous
#524AD4 #974AD4 #D44ACC
triadic
#974AD4 #D4974A #4AD497
tetradic
#974AD4 #D4524A #87D44A #4ACCD4
square
#974AD4 #D4524A #87D44A #4ACCD4
split-complementary
#974AD4 #CCD44A #4AD452
monochromatic
#581F84 #782BB6 #974AD4 #B37BE0 #D0ADEB

Accessibility & contrast

On white

4.95
#974AD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#974AD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974AD4
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974AD4#FFFFFF#000000##FFFFFF
##974AD41.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED8
Deuteranopia (green-blind)
#2971D1
Tritanopia (blue-blind)
#8D6789
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #974ad4;
/* rgb */ color: rgb(151, 74, 212);
/* oklch */ color: oklch(57.0% 0.206 306.6);
Tailwind
colors: {
  custom: {
    50: '#ba81e2',
    500: '#974ad4',
    950: '#000000',
  },
}
SCSS
$custom: #974ad4;
$custom-light: #ba81e2;
$custom-dark: #000000;
JSON
{
  "hex": "#974ad4",
  "rgb": {
    "r": 151,
    "g": 74,
    "b": 212
  },
  "hsl": {
    "h": 273.478,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57004,
    "c": 0.20605,
    "h": 306.6
  },
  "luminance": 0.1623
}

Semantic roles & 50–950 ramp

primary
#974AD4
secondary
#BAD9A0
accent
#E5438B
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #974AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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