#974BD9#974BD9

#974BD9 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.5% C 0.210 H 305.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#974BD9
RGBrgb(151, 75, 217)
HSLhsl(272, 65%, 57%)
HSVhsv(272, 65%, 85%)
CMYKcmyk(30.4%, 65.4%, 0%, 14.9%)
CIE-LABlab(47.78, 56.99, -60.47)
CIE-LCHlch(47.78, 83.09, 313.30°)
OKLaboklab(57.47% 0.1213 -0.1714)
OKLCHoklch(57.47% 0.21 305.3)
XYZxyz(27.8002, 16.6214, 67.3759)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974BD9 #8DD94B
analogous
#504BD9 #974BD9 #D94BD4
triadic
#974BD9 #D9974B #4BD997
tetradic
#974BD9 #D9504B #8DD94B #4BD4D9
square
#974BD9 #D9504B #8DD94B #4BD4D9
split-complementary
#974BD9 #D4D94B #4BD950
monochromatic
#591E8C #7928BF #974BD9 #B47EE4 #D1B0EE

Accessibility & contrast

On white

4.86
#974BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#974BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974BD9
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974BD9#FFFFFF#000000##FFFFFF
##974BD91.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#2272D6
Tritanopia (blue-blind)
#8B6A8C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #974bd9;
/* rgb */ color: rgb(151, 75, 217);
/* oklch */ color: oklch(57.5% 0.210 305.3);
Tailwind
colors: {
  custom: {
    50: '#ba82e6',
    500: '#974bd9',
    950: '#000000',
  },
}
SCSS
$custom: #974bd9;
$custom-light: #ba82e6;
$custom-dark: #000000;
JSON
{
  "hex": "#974bd9",
  "rgb": {
    "r": 151,
    "g": 75,
    "b": 217
  },
  "hsl": {
    "h": 272.113,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57471,
    "c": 0.21001,
    "h": 305.3
  },
  "luminance": 0.16621
}

Semantic roles & 50–950 ramp

primary
#974BD9
secondary
#BEDDA3
accent
#E8408E
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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