#974CDF#974CDF

#974CDF is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.0% C 0.215 H 303.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#974CDF
RGBrgb(151, 76, 223)
HSLhsl(271, 70%, 59%)
HSVhsv(271, 66%, 87%)
CMYKcmyk(32.3%, 65.9%, 0%, 12.5%)
CIE-LABlab(48.36, 57.90, -62.95)
CIE-LCHlch(48.36, 85.53, 312.61°)
OKLaboklab(58.01% 0.1196 -0.1788)
OKLCHoklch(58.01% 0.215 303.8)
XYZxyz(28.6632, 17.0760, 71.5837)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974CDF #94DF4C
analogous
#4D4CDF #974CDF #DF4CDD
triadic
#974CDF #DF974C #4CDF97
tetradic
#974CDF #DF4D4C #94DF4C #4CDDDF
square
#974CDF #DF4D4C #94DF4C #4CDDDF
split-complementary
#974CDF #DDDF4C #4CDF4D
monochromatic
#5A1B96 #7924CA #974CDF #B580E8 #D3B4F2

Accessibility & contrast

On white

4.76
#974CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#974CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974CDF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974CDF#FFFFFF#000000##FFFFFF
##974CDF1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#1573DC
Tritanopia (blue-blind)
#896D8F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #974cdf;
/* rgb */ color: rgb(151, 76, 223);
/* oklch */ color: oklch(58.0% 0.215 303.8);
Tailwind
colors: {
  custom: {
    50: '#bb83ea',
    500: '#974cdf',
    950: '#000000',
  },
}
SCSS
$custom: #974cdf;
$custom-light: #bb83ea;
$custom-dark: #000000;
JSON
{
  "hex": "#974cdf",
  "rgb": {
    "r": 151,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 270.612,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58013,
    "c": 0.21509,
    "h": 303.8
  },
  "luminance": 0.17076
}

Semantic roles & 50–950 ramp

primary
#974CDF
secondary
#C3E0A6
accent
#EC3B92
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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