#974BD5#974BD5

#974BD5 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.2% C 0.206 H 306.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#974BD5
RGBrgb(151, 75, 213)
HSLhsl(273, 62%, 56%)
HSVhsv(273, 65%, 84%)
CMYKcmyk(29.1%, 64.8%, 0%, 16.5%)
CIE-LABlab(47.52, 56.07, -58.61)
CIE-LCHlch(47.52, 81.11, 313.73°)
OKLaboklab(57.2% 0.1216 -0.166)
OKLCHoklch(57.2% 0.206 306.2)
XYZxyz(27.2862, 16.4158, 64.6690)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974BD5 #89D54B
analogous
#524BD5 #974BD5 #D54BCE
triadic
#974BD5 #D5974B #4BD597
tetradic
#974BD5 #D5524B #89D54B #4BCED5
square
#974BD5 #D5524B #89D54B #4BCED5
split-complementary
#974BD5 #CED54B #4BD552
monochromatic
#581F86 #792BB8 #974BD5 #B47DE1 #D0AEEC

Accessibility & contrast

On white

4.90
#974BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#974BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974BD5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974BD5#FFFFFF#000000##FFFFFF
##974BD51.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED9
Deuteranopia (green-blind)
#2971D2
Tritanopia (blue-blind)
#8C688A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #974bd5;
/* rgb */ color: rgb(151, 75, 213);
/* oklch */ color: oklch(57.2% 0.206 306.2);
Tailwind
colors: {
  custom: {
    50: '#ba82e3',
    500: '#974bd5',
    950: '#000000',
  },
}
SCSS
$custom: #974bd5;
$custom-light: #ba82e3;
$custom-dark: #000000;
JSON
{
  "hex": "#974bd5",
  "rgb": {
    "r": 151,
    "g": 75,
    "b": 213
  },
  "hsl": {
    "h": 273.043,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57197,
    "c": 0.20578,
    "h": 306.2
  },
  "luminance": 0.16416
}

Semantic roles & 50–950 ramp

primary
#974BD5
secondary
#BBDAA2
accent
#E5438C
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #974BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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