#974BD7#974BD7

#974BD7 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.3% C 0.208 H 305.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#974BD7
RGBrgb(151, 75, 215)
HSLhsl(273, 64%, 57%)
HSVhsv(273, 65%, 84%)
CMYKcmyk(29.8%, 65.1%, 0%, 15.7%)
CIE-LABlab(47.65, 56.53, -59.54)
CIE-LCHlch(47.65, 82.10, 313.51°)
OKLaboklab(57.33% 0.1215 -0.1687)
OKLCHoklch(57.33% 0.208 305.7)
XYZxyz(27.5416, 16.5180, 66.0142)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974BD7 #8BD74B
analogous
#514BD7 #974BD7 #D74BD1
triadic
#974BD7 #D7974B #4BD797
tetradic
#974BD7 #D7514B #8BD74B #4BD1D7
square
#974BD7 #D7514B #8BD74B #4BD1D7
split-complementary
#974BD7 #D1D74B #4BD751
monochromatic
#581E89 #792ABB #974BD7 #B47DE2 #D1AFED

Accessibility & contrast

On white

4.88
#974BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#974BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974BD7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974BD7#FFFFFF#000000##FFFFFF
##974BD71.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDB
Deuteranopia (green-blind)
#2671D4
Tritanopia (blue-blind)
#8C698B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #974bd7;
/* rgb */ color: rgb(151, 75, 215);
/* oklch */ color: oklch(57.3% 0.208 305.7);
Tailwind
colors: {
  custom: {
    50: '#ba82e4',
    500: '#974bd7',
    950: '#000000',
  },
}
SCSS
$custom: #974bd7;
$custom-light: #ba82e4;
$custom-dark: #000000;
JSON
{
  "hex": "#974bd7",
  "rgb": {
    "r": 151,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 272.571,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57334,
    "c": 0.2079,
    "h": 305.7
  },
  "luminance": 0.16518
}

Semantic roles & 50–950 ramp

primary
#974BD7
secondary
#BCDBA2
accent
#E7418D
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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