#974DDC#974DDC

#974DDC is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.9% C 0.211 H 304.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#974DDC
RGBrgb(151, 77, 220)
HSLhsl(271, 67%, 58%)
HSVhsv(271, 65%, 86%)
CMYKcmyk(31.4%, 65%, 0%, 13.7%)
CIE-LABlab(48.33, 56.72, -61.29)
CIE-LCHlch(48.33, 83.51, 312.79°)
OKLaboklab(57.93% 0.1188 -0.1739)
OKLCHoklch(57.93% 0.211 304.3)
XYZxyz(28.3317, 17.0545, 69.4955)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974DDC #92DC4D
analogous
#4F4DDC #974DDC #DC4DD9
triadic
#974DDC #DC974D #4DDC97
tetradic
#974DDC #DC4F4D #92DC4D #4DD9DC
square
#974DDC #DC4F4D #92DC4D #4DD9DC
split-complementary
#974DDC #D9DC4D #4DDC4F
monochromatic
#591D92 #7927C5 #974DDC #B580E6 #D3B3F0

Accessibility & contrast

On white

4.76
#974DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#974DDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974DDC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974DDC#FFFFFF#000000##FFFFFF
##974DDC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#2073D9
Tritanopia (blue-blind)
#8A6C8E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #974ddc;
/* rgb */ color: rgb(151, 77, 220);
/* oklch */ color: oklch(57.9% 0.211 304.3);
Tailwind
colors: {
  custom: {
    50: '#ba83e8',
    500: '#974ddc',
    950: '#000000',
  },
}
SCSS
$custom: #974ddc;
$custom-light: #ba83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#974ddc",
  "rgb": {
    "r": 151,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 271.049,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5793,
    "c": 0.21059,
    "h": 304.3
  },
  "luminance": 0.17054
}

Semantic roles & 50–950 ramp

primary
#974DDC
secondary
#C1DFA6
accent
#EA3E91
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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