#974AD2#974AD2

#974AD2 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.9% C 0.204 H 307.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#974AD2
RGBrgb(151, 74, 210)
HSLhsl(274, 60%, 56%)
HSVhsv(274, 65%, 82%)
CMYKcmyk(28.1%, 64.8%, 0%, 17.6%)
CIE-LABlab(47.15, 55.86, -57.49)
CIE-LCHlch(47.15, 80.16, 314.18°)
OKLaboklab(56.87% 0.123 -0.1627)
OKLCHoklch(56.87% 0.204 307.1)
XYZxyz(26.8417, 16.1303, 62.6597)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974AD2 #85D24A
analogous
#534AD2 #974AD2 #D24AC9
triadic
#974AD2 #D2974A #4AD297
tetradic
#974AD2 #D2534A #85D24A #4AC9D2
square
#974AD2 #D2534A #85D24A #4AC9D2
split-complementary
#974AD2 #C9D24A #4AD253
monochromatic
#572081 #782CB2 #974AD2 #B37BDE #CFACEA

Accessibility & contrast

On white

4.97
#974AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#974AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974AD2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974AD2#FFFFFF#000000##FFFFFF
##974AD21.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#2C70CF
Tritanopia (blue-blind)
#8D6788
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #974ad2;
/* rgb */ color: rgb(151, 74, 210);
/* oklch */ color: oklch(56.9% 0.204 307.1);
Tailwind
colors: {
  custom: {
    50: '#ba81e1',
    500: '#974ad2',
    950: '#000000',
  },
}
SCSS
$custom: #974ad2;
$custom-light: #ba81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#974ad2",
  "rgb": {
    "r": 151,
    "g": 74,
    "b": 210
  },
  "hsl": {
    "h": 273.971,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56868,
    "c": 0.20395,
    "h": 307.1
  },
  "luminance": 0.1613
}

Semantic roles & 50–950 ramp

primary
#974AD2
secondary
#B8D8A0
accent
#E34489
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #974AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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