#974EC0#974EC0

#974EC0 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.2% C 0.179 H 311.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#974EC0
RGBrgb(151, 78, 192)
HSLhsl(278, 48%, 53%)
HSVhsv(278, 59%, 75%)
CMYKcmyk(21.4%, 59.4%, 0%, 24.7%)
CIE-LABlab(46.76, 49.86, -47.73)
CIE-LCHlch(46.76, 69.02, 316.25°)
OKLaboklab(56.23% 0.1188 -0.1341)
OKLCHoklch(56.23% 0.179 311.5)
XYZxyz(24.9996, 15.8344, 51.5984)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974EC0 #77C04E
analogous
#5E4EC0 #974EC0 #C04EB0
triadic
#974EC0 #C0974E #4EC097
tetradic
#974EC0 #C05E4E #77C04E #4EB0C0
square
#974EC0 #C05E4E #77C04E #4EB0C0
split-complementary
#974EC0 #B0C04E #4EC05E
monochromatic
#54276D #76379A #974EC0 #B27BD0 #CCA8E0

Accessibility & contrast

On white

5.04
#974EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #974EC0
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974EC0#FFFFFF#000000##FFFFFF
##974EC01.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266BC4
Deuteranopia (green-blind)
#4570BD
Tritanopia (blue-blind)
#926380
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #974ec0;
/* rgb */ color: rgb(151, 78, 192);
/* oklch */ color: oklch(56.2% 0.179 311.5);
Tailwind
colors: {
  custom: {
    50: '#b983d3',
    500: '#974ec0',
    950: '#000000',
  },
}
SCSS
$custom: #974ec0;
$custom-light: #b983d3;
$custom-dark: #000000;
JSON
{
  "hex": "#974ec0",
  "rgb": {
    "r": 151,
    "g": 78,
    "b": 192
  },
  "hsl": {
    "h": 278.421,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5623,
    "c": 0.17913,
    "h": 311.5
  },
  "luminance": 0.15834
}

Semantic roles & 50–950 ramp

primary
#974EC0
secondary
#AECE9C
accent
#D75181
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #974EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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