#974DD3#974DD3

#974DD3 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.3% C 0.201 H 306.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#974DD3
RGBrgb(151, 77, 211)
HSLhsl(273, 60%, 56%)
HSVhsv(273, 64%, 83%)
CMYKcmyk(28.4%, 63.5%, 0%, 17.3%)
CIE-LABlab(47.74, 54.64, -57.10)
CIE-LCHlch(47.74, 79.03, 313.74°)
OKLaboklab(57.32% 0.1195 -0.1616)
OKLCHoklch(57.32% 0.201 306.5)
XYZxyz(27.1717, 16.5905, 63.3862)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974DD3 #89D34D
analogous
#544DD3 #974DD3 #D34DCC
triadic
#974DD3 #D3974D #4DD397
tetradic
#974DD3 #D3544D #89D34D #4DCCD3
square
#974DD3 #D3544D #89D34D #4DCCD3
split-complementary
#974DD3 #CCD34D #4DD354
monochromatic
#582185 #792DB6 #974DD3 #B47EDF #D0AFEB

Accessibility & contrast

On white

4.86
#974DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#974DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974DD3
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974DD3#FFFFFF#000000##FFFFFF
##974DD31.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD7
Deuteranopia (green-blind)
#3072D0
Tritanopia (blue-blind)
#8D6989
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #974dd3;
/* rgb */ color: rgb(151, 77, 211);
/* oklch */ color: oklch(57.3% 0.201 306.5);
Tailwind
colors: {
  custom: {
    50: '#ba83e1',
    500: '#974dd3',
    950: '#000000',
  },
}
SCSS
$custom: #974dd3;
$custom-light: #ba83e1;
$custom-dark: #000000;
JSON
{
  "hex": "#974dd3",
  "rgb": {
    "r": 151,
    "g": 77,
    "b": 211
  },
  "hsl": {
    "h": 273.134,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57318,
    "c": 0.20096,
    "h": 306.5
  },
  "luminance": 0.1659
}

Semantic roles & 50–950 ramp

primary
#974DD3
secondary
#BBD9A2
accent
#E4448C
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #974DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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