#974FCC#974FCC

#974FCC is a mid, vivid violet. Relative luminance 0.165; OKLCH L 57.1% C 0.191 H 308.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#974FCC
RGBrgb(151, 79, 204)
HSLhsl(275, 55%, 55%)
HSVhsv(275, 61%, 80%)
CMYKcmyk(26%, 61.3%, 0%, 20%)
CIE-LABlab(47.66, 52.05, -53.21)
CIE-LCHlch(47.66, 74.43, 314.37°)
OKLaboklab(57.12% 0.1174 -0.1502)
OKLCHoklch(57.12% 0.191 308)
XYZxyz(26.4553, 16.5313, 58.9122)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974FCC #84CC4F
analogous
#584FCC #974FCC #CC4FC2
triadic
#974FCC #CC974F #4FCC97
tetradic
#974FCC #CC584F #84CC4F #4FC2CC
square
#974FCC #CC584F #84CC4F #4FC2CC
split-complementary
#974FCC #C2CC4F #4FCC58
monochromatic
#57247D #7832AC #974FCC #B37EDA #CFAEE7

Accessibility & contrast

On white

4.88
#974FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#974FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974FCC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974FCC#FFFFFF#000000##FFFFFF
##974FCC1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116ED0
Deuteranopia (green-blind)
#3B72C9
Tritanopia (blue-blind)
#8F6886
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #974fcc;
/* rgb */ color: rgb(151, 79, 204);
/* oklch */ color: oklch(57.1% 0.191 308.0);
Tailwind
colors: {
  custom: {
    50: '#b984dc',
    500: '#974fcc',
    950: '#000000',
  },
}
SCSS
$custom: #974fcc;
$custom-light: #b984dc;
$custom-dark: #000000;
JSON
{
  "hex": "#974fcc",
  "rgb": {
    "r": 151,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 274.56,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57122,
    "c": 0.19062,
    "h": 308
  },
  "luminance": 0.16531
}

Semantic roles & 50–950 ramp

primary
#974FCC
secondary
#B7D5A1
accent
#DE4989
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #974FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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