#974FDC#974FDC

#974FDC is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.2% C 0.208 H 304.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#974FDC
RGBrgb(151, 79, 220)
HSLhsl(271, 67%, 59%)
HSVhsv(271, 64%, 86%)
CMYKcmyk(31.4%, 64.1%, 0%, 13.7%)
CIE-LABlab(48.68, 55.75, -60.71)
CIE-LCHlch(48.68, 82.43, 312.56°)
OKLaboklab(58.19% 0.1166 -0.1722)
OKLCHoklch(58.19% 0.208 304.1)
XYZxyz(28.4738, 17.3387, 69.5429)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974FDC #94DC4F
analogous
#504FDC #974FDC #DC4FDB
triadic
#974FDC #DC974F #4FDC97
tetradic
#974FDC #DC504F #94DC4F #4FDBDC
square
#974FDC #DC504F #94DC4F #4FDBDC
split-complementary
#974FDC #DBDC4F #4FDC50
monochromatic
#5A1D93 #7927C6 #974FDC #B582E6 #D3B5F0

Accessibility & contrast

On white

4.70
#974FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#974FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974FDC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974FDC#FFFFFF#000000##FFFFFF
##974FDC1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#2474D9
Tritanopia (blue-blind)
#8A6D8F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #974fdc;
/* rgb */ color: rgb(151, 79, 220);
/* oklch */ color: oklch(58.2% 0.208 304.1);
Tailwind
colors: {
  custom: {
    50: '#ba84e8',
    500: '#974fdc',
    950: '#000000',
  },
}
SCSS
$custom: #974fdc;
$custom-light: #ba84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#974fdc",
  "rgb": {
    "r": 151,
    "g": 79,
    "b": 220
  },
  "hsl": {
    "h": 270.638,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58186,
    "c": 0.20796,
    "h": 304.1
  },
  "luminance": 0.17339
}

Semantic roles & 50–950 ramp

primary
#974FDC
secondary
#C3DFA8
accent
#EA3E92
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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