#974FDD#974FDD

#974FDD is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.3% C 0.209 H 303.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#974FDD
RGBrgb(151, 79, 221)
HSLhsl(270, 68%, 59%)
HSVhsv(270, 64%, 87%)
CMYKcmyk(31.7%, 64.3%, 0%, 13.3%)
CIE-LABlab(48.75, 55.98, -61.18)
CIE-LCHlch(48.75, 82.93, 312.46°)
OKLaboklab(58.25% 0.1165 -0.1736)
OKLCHoklch(58.25% 0.209 303.9)
XYZxyz(28.6067, 17.3918, 70.2425)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974FDD #95DD4F
analogous
#504FDD #974FDD #DD4FDC
triadic
#974FDD #DD974F #4FDD97
tetradic
#974FDD #DD504F #95DD4F #4FDCDD
square
#974FDD #DD504F #95DD4F #4FDCDD
split-complementary
#974FDD #DCDD4F #4FDD50
monochromatic
#5A1D95 #7927C8 #974FDD #B582E7 #D4B6F1

Accessibility & contrast

On white

4.69
#974FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#974FDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974FDD
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974FDD#FFFFFF#000000##FFFFFF
##974FDD1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#2274DA
Tritanopia (blue-blind)
#8A6E8F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #974fdd;
/* rgb */ color: rgb(151, 79, 221);
/* oklch */ color: oklch(58.3% 0.209 303.9);
Tailwind
colors: {
  custom: {
    50: '#ba85e8',
    500: '#974fdd',
    950: '#000000',
  },
}
SCSS
$custom: #974fdd;
$custom-light: #ba85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#974fdd",
  "rgb": {
    "r": 151,
    "g": 79,
    "b": 221
  },
  "hsl": {
    "h": 270.423,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58254,
    "c": 0.20904,
    "h": 303.9
  },
  "luminance": 0.17392
}

Semantic roles & 50–950 ramp

primary
#974FDD
secondary
#C4E0A8
accent
#EA3D93
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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