#974DD4#974DD4

#974DD4 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.4% C 0.202 H 306.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#974DD4
RGBrgb(151, 77, 212)
HSLhsl(273, 61%, 57%)
HSVhsv(273, 64%, 83%)
CMYKcmyk(28.8%, 63.7%, 0%, 16.9%)
CIE-LABlab(47.80, 54.87, -57.57)
CIE-LCHlch(47.80, 79.53, 313.62°)
OKLaboklab(57.39% 0.1194 -0.163)
OKLCHoklch(57.39% 0.202 306.2)
XYZxyz(27.2975, 16.6408, 64.0485)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974DD4 #8AD44D
analogous
#544DD4 #974DD4 #D44DCE
triadic
#974DD4 #D4974D #4DD497
tetradic
#974DD4 #D4544D #8AD44D #4DCED4
square
#974DD4 #D4544D #8AD44D #4DCED4
split-complementary
#974DD4 #CED44D #4DD454
monochromatic
#582086 #792CB7 #974DD4 #B47EE0 #D1B0EC

Accessibility & contrast

On white

4.85
#974DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#974DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974DD4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974DD4#FFFFFF#000000##FFFFFF
##974DD41.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#2E72D1
Tritanopia (blue-blind)
#8D698A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #974dd4;
/* rgb */ color: rgb(151, 77, 212);
/* oklch */ color: oklch(57.4% 0.202 306.2);
Tailwind
colors: {
  custom: {
    50: '#ba83e2',
    500: '#974dd4',
    950: '#000000',
  },
}
SCSS
$custom: #974dd4;
$custom-light: #ba83e2;
$custom-dark: #000000;
JSON
{
  "hex": "#974dd4",
  "rgb": {
    "r": 151,
    "g": 77,
    "b": 212
  },
  "hsl": {
    "h": 272.889,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57385,
    "c": 0.20203,
    "h": 306.2
  },
  "luminance": 0.16641
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #974DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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