#974CD3#974CD3

#974CD3 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.2% C 0.202 H 306.6°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#974CD3
RGBrgb(151, 76, 211)
HSLhsl(273, 61%, 56%)
HSVhsv(273, 64%, 83%)
CMYKcmyk(28.4%, 64%, 0%, 17.3%)
CIE-LABlab(47.56, 55.13, -57.39)
CIE-LCHlch(47.56, 79.58, 313.85°)
OKLaboklab(57.19% 0.1206 -0.1624)
OKLCHoklch(57.19% 0.202 306.6)
XYZxyz(27.1023, 16.4516, 63.3631)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974CD3 #88D34C
analogous
#544CD3 #974CD3 #D34CCC
triadic
#974CD3 #D3974C #4CD397
tetradic
#974CD3 #D3544C #88D34C #4CCCD3
square
#974CD3 #D3544C #88D34C #4CCCD3
split-complementary
#974CD3 #CCD34C #4CD354
monochromatic
#582084 #782DB5 #974CD3 #B47DDF #D0AEEB

Accessibility & contrast

On white

4.89
#974CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#974CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974CD3
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974CD3#FFFFFF#000000##FFFFFF
##974CD31.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED7
Deuteranopia (green-blind)
#2E71D0
Tritanopia (blue-blind)
#8D6889
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #974cd3;
/* rgb */ color: rgb(151, 76, 211);
/* oklch */ color: oklch(57.2% 0.202 306.6);
Tailwind
colors: {
  custom: {
    50: '#ba82e1',
    500: '#974cd3',
    950: '#000000',
  },
}
SCSS
$custom: #974cd3;
$custom-light: #ba82e1;
$custom-dark: #000000;
JSON
{
  "hex": "#974cd3",
  "rgb": {
    "r": 151,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 273.333,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57189,
    "c": 0.20232,
    "h": 306.6
  },
  "luminance": 0.16451
}

Semantic roles & 50–950 ramp

primary
#974CD3
secondary
#BAD9A2
accent
#E4448B
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #974CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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