#974DD9#974DD9

#974DD9 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.7% C 0.207 H 305.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#974DD9
RGBrgb(151, 77, 217)
HSLhsl(272, 65%, 58%)
HSVhsv(272, 65%, 85%)
CMYKcmyk(30.4%, 64.5%, 0%, 14.9%)
CIE-LABlab(48.13, 56.02, -59.90)
CIE-LCHlch(48.13, 82.02, 313.09°)
OKLaboklab(57.72% 0.1191 -0.1698)
OKLCHoklch(57.72% 0.207 305)
XYZxyz(27.9380, 16.8970, 67.4218)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974DD9 #8FD94D
analogous
#514DD9 #974DD9 #D94DD5
triadic
#974DD9 #D9974D #4DD997
tetradic
#974DD9 #D9514D #8FD94D #4DD5D9
square
#974DD9 #D9514D #8FD94D #4DD5D9
split-complementary
#974DD9 #D5D94D #4DD951
monochromatic
#591E8D #7929C0 #974DD9 #B47FE4 #D2B2EF

Accessibility & contrast

On white

4.80
#974DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#974DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974DD9
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974DD9#FFFFFF#000000##FFFFFF
##974DD91.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #974dd9;
/* rgb */ color: rgb(151, 77, 217);
/* oklch */ color: oklch(57.7% 0.207 305.0);
Tailwind
colors: {
  custom: {
    50: '#ba83e5',
    500: '#974dd9',
    950: '#000000',
  },
}
SCSS
$custom: #974dd9;
$custom-light: #ba83e5;
$custom-dark: #000000;
JSON
{
  "hex": "#974dd9",
  "rgb": {
    "r": 151,
    "g": 77,
    "b": 217
  },
  "hsl": {
    "h": 271.714,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57723,
    "c": 0.20738,
    "h": 305
  },
  "luminance": 0.16897
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #974DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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