#974FDF#974FDF

#974FDF is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.4% C 0.211 H 303.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#974FDF
RGBrgb(151, 79, 223)
HSLhsl(270, 69%, 59%)
HSVhsv(270, 65%, 87%)
CMYKcmyk(32.3%, 64.6%, 0%, 12.5%)
CIE-LABlab(48.88, 56.45, -62.10)
CIE-LCHlch(48.88, 83.92, 312.28°)
OKLaboklab(58.39% 0.1163 -0.1763)
OKLCHoklch(58.39% 0.211 303.4)
XYZxyz(28.8747, 17.4990, 71.6542)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974FDF #97DF4F
analogous
#4F4FDF #974FDF #DF4FDF
triadic
#974FDF #DF974F #4FDF97
tetradic
#974FDF #DF4F4F #97DF4F #4FDFDF
square
#974FDF #DF4F4F #97DF4F #4FDFDF
split-complementary
#974FDF #DFDF4F #4FDF4F
monochromatic
#5A1C98 #7825CC #974FDF #B683E8 #D4B7F2

Accessibility & contrast

On white

4.67
#974FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#974FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #974FDF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974FDF#FFFFFF#000000##FFFFFF
##974FDF1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#1E74DC
Tritanopia (blue-blind)
#896E90
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #974fdf;
/* rgb */ color: rgb(151, 79, 223);
/* oklch */ color: oklch(58.4% 0.211 303.4);
Tailwind
colors: {
  custom: {
    50: '#ba85ea',
    500: '#974fdf',
    950: '#000000',
  },
}
SCSS
$custom: #974fdf;
$custom-light: #ba85ea;
$custom-dark: #000000;
JSON
{
  "hex": "#974fdf",
  "rgb": {
    "r": 151,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 270,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58392,
    "c": 0.2112,
    "h": 303.4
  },
  "luminance": 0.17499
}

Semantic roles & 50–950 ramp

primary
#974FDF
secondary
#C5E1A9
accent
#EC3C94
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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