#974DC0#974DC0

#974DC0 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.1% C 0.181 H 311.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#974DC0
RGBrgb(151, 77, 192)
HSLhsl(279, 48%, 53%)
HSVhsv(279, 60%, 75%)
CMYKcmyk(21.4%, 59.9%, 0%, 24.7%)
CIE-LABlab(46.57, 50.36, -48.02)
CIE-LCHlch(46.57, 69.59, 316.36°)
OKLaboklab(56.09% 0.12 -0.135)
OKLCHoklch(56.09% 0.181 311.6)
XYZxyz(24.9291, 15.6934, 51.5749)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974DC0 #76C04D
analogous
#5E4DC0 #974DC0 #C04DAF
triadic
#974DC0 #C0974D #4DC097
tetradic
#974DC0 #C05E4D #76C04D #4DAFC0
square
#974DC0 #C05E4D #76C04D #4DAFC0
split-complementary
#974DC0 #AFC04D #4DC05E
monochromatic
#53266C #763699 #974DC0 #B17AD0 #CCA7E0

Accessibility & contrast

On white

5.07
#974DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#974DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974DC0
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974DC0#FFFFFF#000000##FFFFFF
##974DC01.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246BC4
Deuteranopia (green-blind)
#4470BD
Tritanopia (blue-blind)
#92627F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #974dc0;
/* rgb */ color: rgb(151, 77, 192);
/* oklch */ color: oklch(56.1% 0.181 311.6);
Tailwind
colors: {
  custom: {
    50: '#b983d3',
    500: '#974dc0',
    950: '#000000',
  },
}
SCSS
$custom: #974dc0;
$custom-light: #b983d3;
$custom-dark: #000000;
JSON
{
  "hex": "#974dc0",
  "rgb": {
    "r": 151,
    "g": 77,
    "b": 192
  },
  "hsl": {
    "h": 278.609,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56094,
    "c": 0.18061,
    "h": 311.6
  },
  "luminance": 0.15693
}

Semantic roles & 50–950 ramp

primary
#974DC0
secondary
#ADCD9B
accent
#D75081
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #974DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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