#974CD9#974CD9

#974CD9 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.6% C 0.209 H 305.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#974CD9
RGBrgb(151, 76, 217)
HSLhsl(272, 65%, 57%)
HSVhsv(272, 65%, 85%)
CMYKcmyk(30.4%, 65%, 0%, 14.9%)
CIE-LABlab(47.95, 56.51, -60.18)
CIE-LCHlch(47.95, 82.55, 313.20°)
OKLaboklab(57.6% 0.1202 -0.1706)
OKLCHoklch(57.6% 0.209 305.2)
XYZxyz(27.8686, 16.7581, 67.3987)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974CD9 #8ED94C
analogous
#514CD9 #974CD9 #D94CD4
triadic
#974CD9 #D9974C #4CD997
tetradic
#974CD9 #D9514C #8ED94C #4CD4D9
square
#974CD9 #D9514C #8ED94C #4CD4D9
split-complementary
#974CD9 #D4D94C #4CD951
monochromatic
#591E8D #7929BF #974CD9 #B47EE4 #D2B1EE

Accessibility & contrast

On white

4.83
#974CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#974CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974CD9
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974CD9#FFFFFF#000000##FFFFFF
##974CD91.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#2472D6
Tritanopia (blue-blind)
#8B6A8C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #974cd9;
/* rgb */ color: rgb(151, 76, 217);
/* oklch */ color: oklch(57.6% 0.209 305.2);
Tailwind
colors: {
  custom: {
    50: '#ba83e6',
    500: '#974cd9',
    950: '#000000',
  },
}
SCSS
$custom: #974cd9;
$custom-light: #ba83e6;
$custom-dark: #000000;
JSON
{
  "hex": "#974cd9",
  "rgb": {
    "r": 151,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 271.915,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57597,
    "c": 0.20871,
    "h": 305.2
  },
  "luminance": 0.16758
}

Semantic roles & 50–950 ramp

primary
#974CD9
secondary
#BFDDA4
accent
#E8408F
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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