#974CD0#974CD0

#974CD0 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 57.0% C 0.199 H 307.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#974CD0
RGBrgb(151, 76, 208)
HSLhsl(274, 58%, 56%)
HSVhsv(274, 63%, 82%)
CMYKcmyk(27.4%, 63.5%, 0%, 18.4%)
CIE-LABlab(47.37, 54.44, -55.98)
CIE-LCHlch(47.37, 78.09, 314.20°)
OKLaboklab(56.99% 0.1208 -0.1583)
OKLCHoklch(56.99% 0.199 307.4)
XYZxyz(26.7297, 16.3026, 61.4009)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974CD0 #85D04C
analogous
#554CD0 #974CD0 #D04CC7
triadic
#974CD0 #D0974C #4CD097
tetradic
#974CD0 #D0554C #85D04C #4CC7D0
square
#974CD0 #D0554C #85D04C #4CC7D0
split-complementary
#974CD0 #C7D04C #4CD055
monochromatic
#572280 #782EB0 #974CD0 #B37CDD #CFADE9

Accessibility & contrast

On white

4.93
#974CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#974CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974CD0
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974CD0#FFFFFF#000000##FFFFFF
##974CD01.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED4
Deuteranopia (green-blind)
#3271CD
Tritanopia (blue-blind)
#8E6787
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #974cd0;
/* rgb */ color: rgb(151, 76, 208);
/* oklch */ color: oklch(57.0% 0.199 307.4);
Tailwind
colors: {
  custom: {
    50: '#ba82df',
    500: '#974cd0',
    950: '#000000',
  },
}
SCSS
$custom: #974cd0;
$custom-light: #ba82df;
$custom-dark: #000000;
JSON
{
  "hex": "#974cd0",
  "rgb": {
    "r": 151,
    "g": 76,
    "b": 208
  },
  "hsl": {
    "h": 274.091,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56989,
    "c": 0.19912,
    "h": 307.4
  },
  "luminance": 0.16302
}

Semantic roles & 50–950 ramp

primary
#974CD0
secondary
#B8D7A0
accent
#E24689
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #974CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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