#974DE7#974DE7

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

Color values

HEX#974DE7
RGBrgb(151, 77, 231)
HSLhsl(269, 76%, 60%)
HSVhsv(269, 67%, 91%)
CMYKcmyk(34.6%, 66.7%, 0%, 9.4%)
CIE-LABlab(49.08, 59.31, -66.31)
CIE-LCHlch(49.08, 88.96, 311.81°)
OKLaboklab(58.7% 0.1177 -0.1886)
OKLCHoklch(58.7% 0.222 302)
XYZxyz(29.8368, 17.6565, 77.4220)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974DE7 #9DE74D
analogous
#4D50E7 #974DE7 #E44DE7
triadic
#974DE7 #E7974D #4DE797
tetradic
#974DE7 #E74D50 #9DE74D #4DE7E4
square
#974DE7 #E74D50 #9DE74D #4DE7E4
split-complementary
#974DE7 #E7E44D #50E74D
monochromatic
#5A16A4 #781DD9 #974DE7 #B783EE #D6B9F6

Accessibility & contrast

On white

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

On black

4.53
#974DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##974DE7#FFFFFF#000000##FFFFFF
##974DE71.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#0074E4
Tritanopia (blue-blind)
#867094
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #974de7;
/* rgb */ color: rgb(151, 77, 231);
/* oklch */ color: oklch(58.7% 0.222 302.0);
Tailwind
colors: {
  custom: {
    50: '#bb84f0',
    500: '#974de7',
    950: '#000000',
  },
}
SCSS
$custom: #974de7;
$custom-light: #bb84f0;
$custom-dark: #000000;
JSON
{
  "hex": "#974de7",
  "rgb": {
    "r": 151,
    "g": 77,
    "b": 231
  },
  "hsl": {
    "h": 268.831,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58704,
    "c": 0.22232,
    "h": 302
  },
  "luminance": 0.17657
}

Semantic roles & 50–950 ramp

primary
#974DE7
secondary
#C9E5AA
accent
#D80D77
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #974DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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