#974AD1#974AD1

#974AD1 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.8% C 0.203 H 307.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#974AD1
RGBrgb(151, 74, 209)
HSLhsl(274, 59%, 55%)
HSVhsv(274, 65%, 82%)
CMYKcmyk(27.8%, 64.6%, 0%, 18%)
CIE-LABlab(47.08, 55.64, -57.02)
CIE-LCHlch(47.08, 79.66, 314.30°)
OKLaboklab(56.8% 0.1231 -0.1613)
OKLCHoklch(56.8% 0.203 307.3)
XYZxyz(26.7175, 16.0807, 62.0056)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974AD1 #84D14A
analogous
#534AD1 #974AD1 #D14AC7
triadic
#974AD1 #D1974A #4AD197
tetradic
#974AD1 #D1534A #84D14A #4AC7D1
square
#974AD1 #D1534A #84D14A #4AC7D1
split-complementary
#974AD1 #C7D14A #4AD153
monochromatic
#572180 #782DB1 #974AD1 #B37BDD #CFACEA

Accessibility & contrast

On white

4.98
#974AD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#974AD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974AD1
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974AD1#FFFFFF#000000##FFFFFF
##974AD11.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD5
Deuteranopia (green-blind)
#2E70CE
Tritanopia (blue-blind)
#8E6687
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #974ad1;
/* rgb */ color: rgb(151, 74, 209);
/* oklch */ color: oklch(56.8% 0.203 307.3);
Tailwind
colors: {
  custom: {
    50: '#ba81e0',
    500: '#974ad1',
    950: '#000000',
  },
}
SCSS
$custom: #974ad1;
$custom-light: #ba81e0;
$custom-dark: #000000;
JSON
{
  "hex": "#974ad1",
  "rgb": {
    "r": 151,
    "g": 74,
    "b": 209
  },
  "hsl": {
    "h": 274.222,
    "s": 59.471,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56801,
    "c": 0.20289,
    "h": 307.3
  },
  "luminance": 0.1608
}

Semantic roles & 50–950 ramp

primary
#974AD1
secondary
#B7D89F
accent
#E34589
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #974AD1

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

Preview Lab → · Contrast checker → · Palette generator →

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