#974CE1#974CE1

#974CE1 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.2% C 0.217 H 303.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#974CE1
RGBrgb(151, 76, 225)
HSLhsl(270, 71%, 59%)
HSVhsv(270, 66%, 88%)
CMYKcmyk(32.9%, 66.2%, 0%, 11.8%)
CIE-LABlab(48.49, 58.37, -63.86)
CIE-LCHlch(48.49, 86.52, 312.43°)
OKLaboklab(58.15% 0.1194 -0.1814)
OKLCHoklch(58.15% 0.217 303.3)
XYZxyz(28.9344, 17.1845, 73.0122)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974CE1 #96E14C
analogous
#4D4CE1 #974CE1 #E14CE1
triadic
#974CE1 #E1974C #4CE197
tetradic
#974CE1 #E14D4C #96E14C #4CE1E1
square
#974CE1 #E14D4C #96E14C #4CE1E1
split-complementary
#974CE1 #E1E14C #4CE14D
monochromatic
#5A1A99 #7822CD #974CE1 #B580EA #D4B5F3

Accessibility & contrast

On white

4.73
#974CE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#974CE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974CE1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974CE1#FFFFFF#000000##FFFFFF
##974CE11.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#0E73DE
Tritanopia (blue-blind)
#896D90
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #974ce1;
/* rgb */ color: rgb(151, 76, 225);
/* oklch */ color: oklch(58.2% 0.217 303.3);
Tailwind
colors: {
  custom: {
    50: '#bb83eb',
    500: '#974ce1',
    950: '#000000',
  },
}
SCSS
$custom: #974ce1;
$custom-light: #bb83eb;
$custom-dark: #000000;
JSON
{
  "hex": "#974ce1",
  "rgb": {
    "r": 151,
    "g": 76,
    "b": 225
  },
  "hsl": {
    "h": 270.201,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58154,
    "c": 0.21721,
    "h": 303.3
  },
  "luminance": 0.17184
}

Semantic roles & 50–950 ramp

primary
#974CE1
secondary
#C4E2A7
accent
#EE3A93
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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