#974AE1#974AE1

#974AE1 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.9% C 0.220 H 303.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#974AE1
RGBrgb(151, 74, 225)
HSLhsl(271, 72%, 59%)
HSVhsv(271, 67%, 88%)
CMYKcmyk(32.9%, 67.1%, 0%, 11.8%)
CIE-LABlab(48.15, 59.32, -64.41)
CIE-LCHlch(48.15, 87.57, 312.64°)
OKLaboklab(57.91% 0.1215 -0.1831)
OKLCHoklch(57.91% 0.22 303.6)
XYZxyz(28.7988, 16.9132, 72.9669)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974AE1 #94E14A
analogous
#4B4AE1 #974AE1 #E14ADF
triadic
#974AE1 #E1974A #4AE197
tetradic
#974AE1 #E14B4A #94E14A #4ADFE1
square
#974AE1 #E14B4A #94E14A #4ADFE1
split-complementary
#974AE1 #DFE14A #4AE14B
monochromatic
#5A1997 #7922CC #974AE1 #B57EEA #D3B3F2

Accessibility & contrast

On white

4.79
#974AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#974AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974AE1
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974AE1#FFFFFF#000000##FFFFFF
##974AE11.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#0372DE
Tritanopia (blue-blind)
#896C90
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #974ae1;
/* rgb */ color: rgb(151, 74, 225);
/* oklch */ color: oklch(57.9% 0.220 303.6);
Tailwind
colors: {
  custom: {
    50: '#bb82eb',
    500: '#974ae1',
    950: '#000000',
  },
}
SCSS
$custom: #974ae1;
$custom-light: #bb82eb;
$custom-dark: #000000;
JSON
{
  "hex": "#974ae1",
  "rgb": {
    "r": 151,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 270.596,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57909,
    "c": 0.21972,
    "h": 303.6
  },
  "luminance": 0.16913
}

Semantic roles & 50–950 ramp

primary
#974AE1
secondary
#C3E1A6
accent
#EE3992
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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