#974CE5#974CE5

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

Color values

HEX#974CE5
RGBrgb(151, 76, 229)
HSLhsl(269, 75%, 60%)
HSVhsv(269, 67%, 90%)
CMYKcmyk(34.1%, 66.8%, 0%, 10.2%)
CIE-LABlab(48.77, 59.31, -65.68)
CIE-LCHlch(48.77, 88.50, 312.08°)
OKLaboklab(58.44% 0.1189 -0.1868)
OKLCHoklch(58.44% 0.221 302.5)
XYZxyz(29.4865, 17.4053, 75.9197)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974CE5 #9AE54C
analogous
#4C4DE5 #974CE5 #E44CE5
triadic
#974CE5 #E5974C #4CE597
tetradic
#974CE5 #E54C4D #9AE54C #4CE5E4
square
#974CE5 #E54C4D #9AE54C #4CE5E4
split-complementary
#974CE5 #E5E44C #4DE54C
monochromatic
#5A179F #781FD5 #974CE5 #B681ED #D5B7F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##974CE5#FFFFFF#000000##FFFFFF
##974CE51.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)
#0073EA
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#876F92
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #974ce5;
/* rgb */ color: rgb(151, 76, 229);
/* oklch */ color: oklch(58.4% 0.221 302.5);
Tailwind
colors: {
  custom: {
    50: '#bb83ee',
    500: '#974ce5',
    950: '#000000',
  },
}
SCSS
$custom: #974ce5;
$custom-light: #bb83ee;
$custom-dark: #000000;
JSON
{
  "hex": "#974ce5",
  "rgb": {
    "r": 151,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 269.412,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58438,
    "c": 0.22144,
    "h": 302.5
  },
  "luminance": 0.17405
}

Semantic roles & 50–950 ramp

primary
#974CE5
secondary
#C7E4A9
accent
#F13796
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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