#974DC6#974DC6

#974DC6 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.5% C 0.187 H 309.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#974DC6
RGBrgb(151, 77, 198)
HSLhsl(277, 51%, 54%)
HSVhsv(277, 61%, 78%)
CMYKcmyk(23.7%, 61.1%, 0%, 22.4%)
CIE-LABlab(46.93, 51.69, -50.93)
CIE-LCHlch(46.93, 72.56, 315.43°)
OKLaboklab(56.47% 0.12 -0.1435)
OKLCHoklch(56.47% 0.187 309.9)
XYZxyz(25.6075, 15.9648, 55.1477)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974DC6 #7CC64D
analogous
#5B4DC6 #974DC6 #C64DB9
triadic
#974DC6 #C6974D #4DC697
tetradic
#974DC6 #C65B4D #7CC64D #4DB9C6
square
#974DC6 #C65B4D #7CC64D #4DB9C6
split-complementary
#974DC6 #B9C64D #4DC65B
monochromatic
#552574 #7734A2 #974DC6 #B27BD5 #CDAAE4

Accessibility & contrast

On white

5.01
#974DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#974DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974DC6
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974DC6#FFFFFF#000000##FFFFFF
##974DC61.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196CCA
Deuteranopia (green-blind)
#3E70C3
Tritanopia (blue-blind)
#916482
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #974dc6;
/* rgb */ color: rgb(151, 77, 198);
/* oklch */ color: oklch(56.5% 0.187 309.9);
Tailwind
colors: {
  custom: {
    50: '#b983d8',
    500: '#974dc6',
    950: '#000000',
  },
}
SCSS
$custom: #974dc6;
$custom-light: #b983d8;
$custom-dark: #000000;
JSON
{
  "hex": "#974dc6",
  "rgb": {
    "r": 151,
    "g": 77,
    "b": 198
  },
  "hsl": {
    "h": 276.694,
    "s": 51.489,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5647,
    "c": 0.18703,
    "h": 309.9
  },
  "luminance": 0.15964
}

Semantic roles & 50–950 ramp

primary
#974DC6
secondary
#B2D19E
accent
#DB4D84
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #974DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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