#974FC2#974FC2

#974FC2 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.5% C 0.180 H 310.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#974FC2
RGBrgb(151, 79, 194)
HSLhsl(278, 49%, 54%)
HSVhsv(278, 59%, 76%)
CMYKcmyk(22.2%, 59.3%, 0%, 23.9%)
CIE-LABlab(47.06, 49.79, -48.40)
CIE-LCHlch(47.06, 69.44, 315.81°)
OKLaboklab(56.49% 0.1175 -0.1361)
OKLCHoklch(56.49% 0.18 310.8)
XYZxyz(25.2943, 16.0668, 52.7972)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974FC2 #7AC24F
analogous
#5D4FC2 #974FC2 #C24FB3
triadic
#974FC2 #C2974F #4FC297
tetradic
#974FC2 #C25D4F #7AC24F #4FB3C2
square
#974FC2 #C25D4F #7AC24F #4FB3C2
split-complementary
#974FC2 #B3C24F #4FC25D
monochromatic
#552770 #77379D #974FC2 #B27CD2 #CDAAE2

Accessibility & contrast

On white

4.98
#974FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#974FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974FC2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974FC2#FFFFFF#000000##FFFFFF
##974FC21.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256CC6
Deuteranopia (green-blind)
#4471BF
Tritanopia (blue-blind)
#926481
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #974fc2;
/* rgb */ color: rgb(151, 79, 194);
/* oklch */ color: oklch(56.5% 0.180 310.8);
Tailwind
colors: {
  custom: {
    50: '#b984d5',
    500: '#974fc2',
    950: '#000000',
  },
}
SCSS
$custom: #974fc2;
$custom-light: #b984d5;
$custom-dark: #000000;
JSON
{
  "hex": "#974fc2",
  "rgb": {
    "r": 151,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 277.565,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56491,
    "c": 0.17979,
    "h": 310.8
  },
  "luminance": 0.16066
}

Semantic roles & 50–950 ramp

primary
#974FC2
secondary
#B0CF9E
accent
#D85083
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #974FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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