#974DD5#974DD5

#974DD5 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.5% C 0.203 H 306.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#974DD5
RGBrgb(151, 77, 213)
HSLhsl(273, 62%, 57%)
HSVhsv(273, 64%, 84%)
CMYKcmyk(29.1%, 63.8%, 0%, 16.5%)
CIE-LABlab(47.87, 55.10, -58.04)
CIE-LCHlch(47.87, 80.03, 313.51°)
OKLaboklab(57.45% 0.1194 -0.1643)
OKLCHoklch(57.45% 0.203 306)
XYZxyz(27.4240, 16.6914, 64.7149)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974DD5 #8BD54D
analogous
#534DD5 #974DD5 #D54DCF
triadic
#974DD5 #D5974D #4DD597
tetradic
#974DD5 #D5534D #8BD54D #4DCFD5
square
#974DD5 #D5534D #8BD54D #4DCFD5
split-complementary
#974DD5 #CFD54D #4DD553
monochromatic
#582088 #792CB9 #974DD5 #B47FE1 #D1B0EC

Accessibility & contrast

On white

4.84
#974DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#974DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974DD5
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974DD5#FFFFFF#000000##FFFFFF
##974DD51.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#2D72D2
Tritanopia (blue-blind)
#8C6A8A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #974dd5;
/* rgb */ color: rgb(151, 77, 213);
/* oklch */ color: oklch(57.5% 0.203 306.0);
Tailwind
colors: {
  custom: {
    50: '#ba83e3',
    500: '#974dd5',
    950: '#000000',
  },
}
SCSS
$custom: #974dd5;
$custom-light: #ba83e3;
$custom-dark: #000000;
JSON
{
  "hex": "#974dd5",
  "rgb": {
    "r": 151,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 272.647,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57452,
    "c": 0.2031,
    "h": 306
  },
  "luminance": 0.16691
}

Semantic roles & 50–950 ramp

primary
#974DD5
secondary
#BCDBA3
accent
#E5438D
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #974DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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