#974ADA#974ADA

#974ADA is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.4% C 0.212 H 305.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#974ADA
RGBrgb(151, 74, 218)
HSLhsl(272, 66%, 57%)
HSVhsv(272, 66%, 85%)
CMYKcmyk(30.7%, 66.1%, 0%, 14.5%)
CIE-LABlab(47.67, 57.69, -61.21)
CIE-LCHlch(47.67, 84.11, 313.31°)
OKLaboklab(57.42% 0.1223 -0.1736)
OKLCHoklch(57.42% 0.212 305.2)
XYZxyz(27.8634, 16.5390, 68.0405)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974ADA #8DDA4A
analogous
#4F4ADA #974ADA #DA4AD5
triadic
#974ADA #DA974A #4ADA97
tetradic
#974ADA #DA4F4A #8DDA4A #4AD5DA
square
#974ADA #DA4F4A #8DDA4A #4AD5DA
split-complementary
#974ADA #D5DA4A #4ADA4F
monochromatic
#591D8D #7927C0 #974ADA #B47DE4 #D1B0EF

Accessibility & contrast

On white

4.87
#974ADA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#974ADA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974ADA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974ADA#FFFFFF#000000##FFFFFF
##974ADA1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#1E71D7
Tritanopia (blue-blind)
#8B6A8C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #974ada;
/* rgb */ color: rgb(151, 74, 218);
/* oklch */ color: oklch(57.4% 0.212 305.2);
Tailwind
colors: {
  custom: {
    50: '#ba81e6',
    500: '#974ada',
    950: '#000000',
  },
}
SCSS
$custom: #974ada;
$custom-light: #ba81e6;
$custom-dark: #000000;
JSON
{
  "hex": "#974ada",
  "rgb": {
    "r": 151,
    "g": 74,
    "b": 218
  },
  "hsl": {
    "h": 272.083,
    "s": 66.055,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57416,
    "c": 0.21237,
    "h": 305.2
  },
  "luminance": 0.16539
}

Semantic roles & 50–950 ramp

primary
#974ADA
secondary
#BEDDA3
accent
#E93F8E
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974ADA

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

Preview Lab → · Contrast checker → · Palette generator →

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