#974EE0#974EE0

#974EE0 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.3% C 0.214 H 303.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#974EE0
RGBrgb(151, 78, 224)
HSLhsl(270, 70%, 59%)
HSVhsv(270, 65%, 88%)
CMYKcmyk(32.6%, 65.2%, 0%, 12.2%)
CIE-LABlab(48.77, 57.18, -62.84)
CIE-LCHlch(48.77, 84.96, 312.30°)
OKLaboklab(58.33% 0.1173 -0.1784)
OKLCHoklch(58.33% 0.214 303.3)
XYZxyz(28.9383, 17.4099, 72.3425)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974EE0 #97E04E
analogous
#4E4EE0 #974EE0 #E04EE0
triadic
#974EE0 #E0974E #4EE097
tetradic
#974EE0 #E04E4E #97E04E #4EE0E0
square
#974EE0 #E04E4E #97E04E #4EE0E0
split-complementary
#974EE0 #E0E04E #4EE04E
monochromatic
#5A1B99 #7824CD #974EE0 #B682E9 #D4B6F2

Accessibility & contrast

On white

4.69
#974EE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#974EE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974EE0
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974EE0#FFFFFF#000000##FFFFFF
##974EE01.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E4
Deuteranopia (green-blind)
#1874DD
Tritanopia (blue-blind)
#896E90
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #974ee0;
/* rgb */ color: rgb(151, 78, 224);
/* oklch */ color: oklch(58.3% 0.214 303.3);
Tailwind
colors: {
  custom: {
    50: '#bb84ea',
    500: '#974ee0',
    950: '#000000',
  },
}
SCSS
$custom: #974ee0;
$custom-light: #bb84ea;
$custom-dark: #000000;
JSON
{
  "hex": "#974ee0",
  "rgb": {
    "r": 151,
    "g": 78,
    "b": 224
  },
  "hsl": {
    "h": 270,
    "s": 70.192,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58334,
    "c": 0.21357,
    "h": 303.3
  },
  "luminance": 0.1741
}

Semantic roles & 50–950 ramp

primary
#974EE0
secondary
#C5E1A8
accent
#ED3B94
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974EE0

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

Preview Lab → · Contrast checker → · Palette generator →

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