#974FD4#974FD4

#974FD4 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.6% C 0.199 H 306.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#974FD4
RGBrgb(151, 79, 212)
HSLhsl(272, 61%, 57%)
HSVhsv(272, 63%, 83%)
CMYKcmyk(28.8%, 62.7%, 0%, 16.9%)
CIE-LABlab(48.17, 53.88, -56.99)
CIE-LCHlch(48.17, 78.43, 313.40°)
OKLaboklab(57.65% 0.1171 -0.1613)
OKLCHoklch(57.65% 0.199 306)
XYZxyz(27.4396, 16.9250, 64.0959)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974FD4 #8CD44F
analogous
#544FD4 #974FD4 #D44FCF
triadic
#974FD4 #D4974F #4FD497
tetradic
#974FD4 #D4544F #8CD44F #4FCFD4
square
#974FD4 #D4544F #8CD44F #4FCFD4
split-complementary
#974FD4 #CFD44F #4FD454
monochromatic
#592187 #792DB9 #974FD4 #B480E0 #D1B1EC

Accessibility & contrast

On white

4.79
#974FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#974FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974FD4
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974FD4#FFFFFF#000000##FFFFFF
##974FD41.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#3173D1
Tritanopia (blue-blind)
#8D6B8A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #974fd4;
/* rgb */ color: rgb(151, 79, 212);
/* oklch */ color: oklch(57.6% 0.199 306.0);
Tailwind
colors: {
  custom: {
    50: '#ba84e2',
    500: '#974fd4',
    950: '#000000',
  },
}
SCSS
$custom: #974fd4;
$custom-light: #ba84e2;
$custom-dark: #000000;
JSON
{
  "hex": "#974fd4",
  "rgb": {
    "r": 151,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 272.481,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57646,
    "c": 0.1993,
    "h": 306
  },
  "luminance": 0.16925
}

Semantic roles & 50–950 ramp

primary
#974FD4
secondary
#BDDAA4
accent
#E4448D
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #974FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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