#974EE2#974EE2

#974EE2 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.5% C 0.216 H 302.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#974EE2
RGBrgb(151, 78, 226)
HSLhsl(270, 72%, 60%)
HSVhsv(270, 65%, 89%)
CMYKcmyk(33.2%, 65.5%, 0%, 11.4%)
CIE-LABlab(48.91, 57.65, -63.76)
CIE-LCHlch(48.91, 85.95, 312.12°)
OKLaboklab(58.47% 0.1172 -0.1811)
OKLCHoklch(58.47% 0.216 302.9)
XYZxyz(29.2112, 17.5191, 73.7793)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974EE2 #99E24E
analogous
#4E4FE2 #974EE2 #E14EE2
triadic
#974EE2 #E2974E #4EE297
tetradic
#974EE2 #E24E4F #99E24E #4EE2E1
square
#974EE2 #E24E4F #99E24E #4EE2E1
split-complementary
#974EE2 #E2E14E #4FE24E
monochromatic
#5A1A9C #7822D1 #974EE2 #B683EB #D5B7F3

Accessibility & contrast

On white

4.66
#974EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#974EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #974EE2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974EE2#FFFFFF#000000##FFFFFF
##974EE21.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#1274DF
Tritanopia (blue-blind)
#886F91
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #974ee2;
/* rgb */ color: rgb(151, 78, 226);
/* oklch */ color: oklch(58.5% 0.216 302.9);
Tailwind
colors: {
  custom: {
    50: '#bb84ec',
    500: '#974ee2',
    950: '#000000',
  },
}
SCSS
$custom: #974ee2;
$custom-light: #bb84ec;
$custom-dark: #000000;
JSON
{
  "hex": "#974ee2",
  "rgb": {
    "r": 151,
    "g": 78,
    "b": 226
  },
  "hsl": {
    "h": 269.595,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58474,
    "c": 0.21572,
    "h": 302.9
  },
  "luminance": 0.17519
}

Semantic roles & 50–950 ramp

primary
#974EE2
secondary
#C6E3A9
accent
#EF3995
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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