#974CCE#974CCE

#974CCE is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.9% C 0.197 H 307.9°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#974CCE
RGBrgb(151, 76, 206)
HSLhsl(275, 57%, 55%)
HSVhsv(275, 63%, 81%)
CMYKcmyk(26.7%, 63.1%, 0%, 19.2%)
CIE-LABlab(47.24, 53.99, -55.03)
CIE-LCHlch(47.24, 77.09, 314.45°)
OKLaboklab(56.86% 0.1209 -0.1555)
OKLCHoklch(56.86% 0.197 307.9)
XYZxyz(26.4852, 16.2048, 60.1131)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974CCE #83CE4C
analogous
#564CCE #974CCE #CE4CC4
triadic
#974CCE #CE974C #4CCE97
tetradic
#974CCE #CE564C #83CE4C #4CC4CE
square
#974CCE #CE564C #83CE4C #4CC4CE
split-complementary
#974CCE #C4CE4C #4CCE56
monochromatic
#57227D #782FAD #974CCE #B37CDB #CFACE8

Accessibility & contrast

On white

4.95
#974CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#974CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974CCE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974CCE#FFFFFF#000000##FFFFFF
##974CCE1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#3571CB
Tritanopia (blue-blind)
#8F6686
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #974cce;
/* rgb */ color: rgb(151, 76, 206);
/* oklch */ color: oklch(56.9% 0.197 307.9);
Tailwind
colors: {
  custom: {
    50: '#b982de',
    500: '#974cce',
    950: '#000000',
  },
}
SCSS
$custom: #974cce;
$custom-light: #b982de;
$custom-dark: #000000;
JSON
{
  "hex": "#974cce",
  "rgb": {
    "r": 151,
    "g": 76,
    "b": 206
  },
  "hsl": {
    "h": 274.615,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56856,
    "c": 0.197,
    "h": 307.9
  },
  "luminance": 0.16204
}

Semantic roles & 50–950 ramp

primary
#974CCE
secondary
#B7D6A0
accent
#E04888
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #974CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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