#974EE1#974EE1

#974EE1 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.4% C 0.215 H 303.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#974EE1
RGBrgb(151, 78, 225)
HSLhsl(270, 71%, 59%)
HSVhsv(270, 65%, 88%)
CMYKcmyk(32.9%, 65.3%, 0%, 11.8%)
CIE-LABlab(48.84, 57.41, -63.30)
CIE-LCHlch(48.84, 85.46, 312.21°)
OKLaboklab(58.4% 0.1173 -0.1798)
OKLCHoklch(58.4% 0.215 303.1)
XYZxyz(29.0744, 17.4643, 73.0588)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974EE1 #98E14E
analogous
#4E4FE1 #974EE1 #E04EE1
triadic
#974EE1 #E1974E #4EE197
tetradic
#974EE1 #E14E4F #98E14E #4EE1E0
square
#974EE1 #E14E4F #98E14E #4EE1E0
split-complementary
#974EE1 #E1E04E #4FE14E
monochromatic
#5A1A9A #7823CF #974EE1 #B682EA #D4B7F3

Accessibility & contrast

On white

4.67
#974EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#974EE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974EE1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974EE1#FFFFFF#000000##FFFFFF
##974EE11.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#1574DE
Tritanopia (blue-blind)
#886F91
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #974ee1;
/* rgb */ color: rgb(151, 78, 225);
/* oklch */ color: oklch(58.4% 0.215 303.1);
Tailwind
colors: {
  custom: {
    50: '#bb84eb',
    500: '#974ee1',
    950: '#000000',
  },
}
SCSS
$custom: #974ee1;
$custom-light: #bb84eb;
$custom-dark: #000000;
JSON
{
  "hex": "#974ee1",
  "rgb": {
    "r": 151,
    "g": 78,
    "b": 225
  },
  "hsl": {
    "h": 269.796,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58404,
    "c": 0.21465,
    "h": 303.1
  },
  "luminance": 0.17464
}

Semantic roles & 50–950 ramp

primary
#974EE1
secondary
#C6E2A9
accent
#EE3A95
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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