#974CD1#974CD1

#974CD1 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.1% C 0.200 H 307.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#974CD1
RGBrgb(151, 76, 209)
HSLhsl(274, 59%, 56%)
HSVhsv(274, 64%, 82%)
CMYKcmyk(27.8%, 63.6%, 0%, 18%)
CIE-LABlab(47.43, 54.67, -56.45)
CIE-LCHlch(47.43, 78.58, 314.08°)
OKLaboklab(57.06% 0.1208 -0.1597)
OKLCHoklch(57.06% 0.2 307.1)
XYZxyz(26.8532, 16.3520, 62.0508)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974CD1 #86D14C
analogous
#544CD1 #974CD1 #D14CC8
triadic
#974CD1 #D1974C #4CD197
tetradic
#974CD1 #D1544C #86D14C #4CC8D1
square
#974CD1 #D1544C #86D14C #4CC8D1
split-complementary
#974CD1 #C8D14C #4CD154
monochromatic
#572181 #782EB2 #974CD1 #B37DDE #D0ADEA

Accessibility & contrast

On white

4.92
#974CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#974CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974CD1
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974CD1#FFFFFF#000000##FFFFFF
##974CD11.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED5
Deuteranopia (green-blind)
#3171CE
Tritanopia (blue-blind)
#8E6888
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #974cd1;
/* rgb */ color: rgb(151, 76, 209);
/* oklch */ color: oklch(57.1% 0.200 307.1);
Tailwind
colors: {
  custom: {
    50: '#ba82e0',
    500: '#974cd1',
    950: '#000000',
  },
}
SCSS
$custom: #974cd1;
$custom-light: #ba82e0;
$custom-dark: #000000;
JSON
{
  "hex": "#974cd1",
  "rgb": {
    "r": 151,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 273.835,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57055,
    "c": 0.20019,
    "h": 307.1
  },
  "luminance": 0.16352
}

Semantic roles & 50–950 ramp

primary
#974CD1
secondary
#B9D8A1
accent
#E2468A
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #974CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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