#974EFD#974EFD

#974EFD is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.5% C 0.244 H 297.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#974EFD
RGBrgb(151, 78, 253)
HSLhsl(265, 98%, 65%)
HSVhsv(265, 69%, 99%)
CMYKcmyk(40.3%, 69.2%, 0%, 0.8%)
CIE-LABlab(50.83, 64.13, -75.79)
CIE-LCHlch(50.83, 99.28, 310.23°)
OKLaboklab(60.45% 0.1134 -0.2165)
OKLCHoklch(60.45% 0.244 297.7)
XYZxyz(33.2119, 19.1194, 94.8501)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974EFD #B4FD4E
analogous
#4E5CFD #974EFD #EF4EFD
triadic
#974EFD #FD974E #4EFD97
tetradic
#974EFD #FD4E5C #B4FD4E #4EFDEF
square
#974EFD #FD4E5C #B4FD4E #4EFDEF
split-complementary
#974EFD #FDEF4E #5CFD4E
monochromatic
#5702CE #7311FC #974EFD #BB8BFE #DEC7FE

Accessibility & contrast

On white

4.35
#974EFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#974EFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #974EFD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974EFD#FFFFFF#000000##000000
##974EFD1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#0077F9
Tritanopia (blue-blind)
#7E79A0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #974efd;
/* rgb */ color: rgb(151, 78, 253);
/* oklch */ color: oklch(60.5% 0.244 297.7);
Tailwind
colors: {
  custom: {
    50: '#bd85ff',
    500: '#974efd',
    950: '#000000',
  },
}
SCSS
$custom: #974efd;
$custom-light: #bd85ff;
$custom-dark: #000000;
JSON
{
  "hex": "#974efd",
  "rgb": {
    "r": 151,
    "g": 78,
    "b": 253
  },
  "hsl": {
    "h": 265.029,
    "s": 97.765,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6045,
    "c": 0.24444,
    "h": 297.7
  },
  "luminance": 0.1912
}

Semantic roles & 50–950 ramp

primary
#974EFD
secondary
#D8F1B6
accent
#E60086
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130B18
muted
#827C86

Preview Lab

Preview with #974EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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