#974EE5#974EE5

#974EE5 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.7% C 0.219 H 302.3°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#974EE5
RGBrgb(151, 78, 229)
HSLhsl(269, 74%, 60%)
HSVhsv(269, 66%, 90%)
CMYKcmyk(34.1%, 65.9%, 0%, 10.2%)
CIE-LABlab(49.11, 58.36, -65.12)
CIE-LCHlch(49.11, 87.45, 311.86°)
OKLaboklab(58.69% 0.1168 -0.1852)
OKLCHoklch(58.69% 0.219 302.3)
XYZxyz(29.6264, 17.6852, 75.9663)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974EE5 #9CE54E
analogous
#4E50E5 #974EE5 #E34EE5
triadic
#974EE5 #E5974E #4EE597
tetradic
#974EE5 #E54E50 #9CE54E #4EE5E3
square
#974EE5 #E54E50 #9CE54E #4EE5E3
split-complementary
#974EE5 #E5E34E #50E54E
monochromatic
#5A18A1 #781FD6 #974EE5 #B683ED #D6B9F5

Accessibility & contrast

On white

4.63
#974EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#974EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #974EE5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974EE5#FFFFFF#000000##FFFFFF
##974EE51.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EA
Deuteranopia (green-blind)
#0274E2
Tritanopia (blue-blind)
#877093
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #974ee5;
/* rgb */ color: rgb(151, 78, 229);
/* oklch */ color: oklch(58.7% 0.219 302.3);
Tailwind
colors: {
  custom: {
    50: '#bb84ee',
    500: '#974ee5',
    950: '#000000',
  },
}
SCSS
$custom: #974ee5;
$custom-light: #bb84ee;
$custom-dark: #000000;
JSON
{
  "hex": "#974ee5",
  "rgb": {
    "r": 151,
    "g": 78,
    "b": 229
  },
  "hsl": {
    "h": 269.007,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58686,
    "c": 0.21894,
    "h": 302.3
  },
  "luminance": 0.17685
}

Semantic roles & 50–950 ramp

primary
#974EE5
secondary
#C8E4AA
accent
#D70F76
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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