#974DE5#974DE5

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

Color values

HEX#974DE5
RGBrgb(151, 77, 229)
HSLhsl(269, 75%, 60%)
HSVhsv(269, 66%, 90%)
CMYKcmyk(34.1%, 66.4%, 0%, 10.2%)
CIE-LABlab(48.94, 58.84, -65.40)
CIE-LCHlch(48.94, 87.97, 311.97°)
OKLaboklab(58.56% 0.1179 -0.186)
OKLCHoklch(58.56% 0.22 302.4)
XYZxyz(29.5559, 17.5441, 75.9428)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974DE5 #9BE54D
analogous
#4D4FE5 #974DE5 #E34DE5
triadic
#974DE5 #E5974D #4DE597
tetradic
#974DE5 #E54D4F #9BE54D #4DE5E3
square
#974DE5 #E54D4F #9BE54D #4DE5E3
split-complementary
#974DE5 #E5E34D #4FE54D
monochromatic
#5A17A0 #781FD6 #974DE5 #B682ED #D5B8F5

Accessibility & contrast

On white

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

On black

4.51
#974DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##974DE5#FFFFFF#000000##FFFFFF
##974DE51.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EA
Deuteranopia (green-blind)
#0074E2
Tritanopia (blue-blind)
#876F93
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #974de5;
/* rgb */ color: rgb(151, 77, 229);
/* oklch */ color: oklch(58.6% 0.220 302.4);
Tailwind
colors: {
  custom: {
    50: '#bb84ee',
    500: '#974de5',
    950: '#000000',
  },
}
SCSS
$custom: #974de5;
$custom-light: #bb84ee;
$custom-dark: #000000;
JSON
{
  "hex": "#974de5",
  "rgb": {
    "r": 151,
    "g": 77,
    "b": 229
  },
  "hsl": {
    "h": 269.211,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.58561,
    "c": 0.2202,
    "h": 302.4
  },
  "luminance": 0.17544
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #974DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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