#974DC1#974DC1

#974DC1 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.2% C 0.182 H 311.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#974DC1
RGBrgb(151, 77, 193)
HSLhsl(278, 48%, 53%)
HSVhsv(278, 60%, 76%)
CMYKcmyk(21.8%, 60.1%, 0%, 24.3%)
CIE-LABlab(46.63, 50.58, -48.51)
CIE-LCHlch(46.63, 70.08, 316.20°)
OKLaboklab(56.16% 0.12 -0.1364)
OKLCHoklch(56.16% 0.182 311.3)
XYZxyz(25.0402, 15.7379, 52.1604)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974DC1 #77C14D
analogous
#5D4DC1 #974DC1 #C14DB1
triadic
#974DC1 #C1974D #4DC197
tetradic
#974DC1 #C15D4D #77C14D #4DB1C1
square
#974DC1 #C15D4D #77C14D #4DB1C1
split-complementary
#974DC1 #B1C14D #4DC15D
monochromatic
#54266D #76369B #974DC1 #B27AD1 #CCA8E1

Accessibility & contrast

On white

5.06
#974DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#974DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974DC1
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974DC1#FFFFFF#000000##FFFFFF
##974DC11.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226BC5
Deuteranopia (green-blind)
#4370BE
Tritanopia (blue-blind)
#926380
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #974dc1;
/* rgb */ color: rgb(151, 77, 193);
/* oklch */ color: oklch(56.2% 0.182 311.3);
Tailwind
colors: {
  custom: {
    50: '#b983d4',
    500: '#974dc1',
    950: '#000000',
  },
}
SCSS
$custom: #974dc1;
$custom-light: #b983d4;
$custom-dark: #000000;
JSON
{
  "hex": "#974dc1",
  "rgb": {
    "r": 151,
    "g": 77,
    "b": 193
  },
  "hsl": {
    "h": 278.276,
    "s": 48.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56156,
    "c": 0.18168,
    "h": 311.3
  },
  "luminance": 0.15737
}

Semantic roles & 50–950 ramp

primary
#974DC1
secondary
#AECE9C
accent
#D85081
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #974DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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