#974CC7#974CC7

#974CC7 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.4% C 0.190 H 309.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#974CC7
RGBrgb(151, 76, 199)
HSLhsl(277, 52%, 54%)
HSVhsv(277, 62%, 78%)
CMYKcmyk(24.1%, 61.8%, 0%, 22%)
CIE-LABlab(46.81, 52.41, -51.70)
CIE-LCHlch(46.81, 73.62, 315.39°)
OKLaboklab(56.4% 0.1212 -0.1457)
OKLCHoklch(56.4% 0.19 309.7)
XYZxyz(25.6537, 15.8722, 55.7340)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974CC7 #7CC74C
analogous
#5A4CC7 #974CC7 #C74CBA
triadic
#974CC7 #C7974C #4CC797
tetradic
#974CC7 #C75A4C #7CC74C #4CBAC7
square
#974CC7 #C75A4C #7CC74C #4CBAC7
split-complementary
#974CC7 #BAC74C #4CC75A
monochromatic
#552474 #7733A3 #974CC7 #B27BD6 #CDA9E4

Accessibility & contrast

On white

5.03
#974CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#974CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974CC7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974CC7#FFFFFF#000000##FFFFFF
##974CC71.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126CCB
Deuteranopia (green-blind)
#3C70C4
Tritanopia (blue-blind)
#906482
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #974cc7;
/* rgb */ color: rgb(151, 76, 199);
/* oklch */ color: oklch(56.4% 0.190 309.7);
Tailwind
colors: {
  custom: {
    50: '#b982d9',
    500: '#974cc7',
    950: '#000000',
  },
}
SCSS
$custom: #974cc7;
$custom-light: #b982d9;
$custom-dark: #000000;
JSON
{
  "hex": "#974cc7",
  "rgb": {
    "r": 151,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 276.585,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56401,
    "c": 0.18954,
    "h": 309.7
  },
  "luminance": 0.15872
}

Semantic roles & 50–950 ramp

primary
#974CC7
secondary
#B2D29D
accent
#DC4C84
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B15
muted
#817C83

Preview Lab

Preview with #974CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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