#974FC0#974FC0

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

Color values

HEX#974FC0
RGBrgb(151, 79, 192)
HSLhsl(278, 47%, 53%)
HSVhsv(278, 59%, 75%)
CMYKcmyk(21.4%, 58.9%, 0%, 24.7%)
CIE-LABlab(46.95, 49.35, -47.43)
CIE-LCHlch(46.95, 68.44, 316.14°)
OKLaboklab(56.37% 0.1175 -0.1332)
OKLCHoklch(56.37% 0.178 311.4)
XYZxyz(25.0712, 15.9776, 51.6222)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974FC0 #78C04F
analogous
#5E4FC0 #974FC0 #C04FB0
triadic
#974FC0 #C0974F #4FC097
tetradic
#974FC0 #C05E4F #78C04F #4FB0C0
square
#974FC0 #C05E4F #78C04F #4FB0C0
split-complementary
#974FC0 #B0C04F #4FC05E
monochromatic
#54276D #77379A #974FC0 #B27CD0 #CCA9E0

Accessibility & contrast

On white

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

On black

4.20
#974FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##974FC0#FFFFFF#000000##FFFFFF
##974FC01.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286CC4
Deuteranopia (green-blind)
#4671BD
Tritanopia (blue-blind)
#926480
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #974fc0;
/* rgb */ color: rgb(151, 79, 192);
/* oklch */ color: oklch(56.4% 0.178 311.4);
Tailwind
colors: {
  custom: {
    50: '#b984d3',
    500: '#974fc0',
    950: '#000000',
  },
}
SCSS
$custom: #974fc0;
$custom-light: #b984d3;
$custom-dark: #000000;
JSON
{
  "hex": "#974fc0",
  "rgb": {
    "r": 151,
    "g": 79,
    "b": 192
  },
  "hsl": {
    "h": 278.23,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56368,
    "c": 0.17763,
    "h": 311.4
  },
  "luminance": 0.15977
}

Semantic roles & 50–950 ramp

primary
#974FC0
secondary
#AFCE9D
accent
#D75182
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #974FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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