#974CE7#974CE7

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

Color values

HEX#974CE7
RGBrgb(151, 76, 231)
HSLhsl(269, 76%, 60%)
HSVhsv(269, 67%, 91%)
CMYKcmyk(34.6%, 67.1%, 0%, 9.4%)
CIE-LABlab(48.91, 59.78, -66.59)
CIE-LCHlch(48.91, 89.49, 311.92°)
OKLaboklab(58.58% 0.1187 -0.1894)
OKLCHoklch(58.58% 0.224 302.1)
XYZxyz(29.7673, 17.5176, 77.3988)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974CE7 #9CE74C
analogous
#4C4FE7 #974CE7 #E44CE7
triadic
#974CE7 #E7974C #4CE797
tetradic
#974CE7 #E74C4F #9CE74C #4CE7E4
square
#974CE7 #E74C4F #9CE74C #4CE7E4
split-complementary
#974CE7 #E7E44C #4FE74C
monochromatic
#5A16A3 #781DD9 #974CE7 #B682EE #D6B8F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##974CE7#FFFFFF#000000##FFFFFF
##974CE71.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)
#0073EC
Deuteranopia (green-blind)
#0074E4
Tritanopia (blue-blind)
#867094
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #974ce7;
/* rgb */ color: rgb(151, 76, 231);
/* oklch */ color: oklch(58.6% 0.224 302.1);
Tailwind
colors: {
  custom: {
    50: '#bb83f0',
    500: '#974ce7',
    950: '#000000',
  },
}
SCSS
$custom: #974ce7;
$custom-light: #bb83f0;
$custom-dark: #000000;
JSON
{
  "hex": "#974ce7",
  "rgb": {
    "r": 151,
    "g": 76,
    "b": 231
  },
  "hsl": {
    "h": 269.032,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58581,
    "c": 0.22356,
    "h": 302.1
  },
  "luminance": 0.17518
}

Semantic roles & 50–950 ramp

primary
#974CE7
secondary
#C8E5AA
accent
#D90D76
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #974CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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