#974BDD#974BDD

#974BDD is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.7% C 0.214 H 304.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#974BDD
RGBrgb(151, 75, 221)
HSLhsl(271, 68%, 58%)
HSVhsv(271, 66%, 87%)
CMYKcmyk(31.7%, 66.1%, 0%, 13.3%)
CIE-LABlab(48.05, 57.91, -62.31)
CIE-LCHlch(48.05, 85.07, 312.91°)
OKLaboklab(57.75% 0.1209 -0.1769)
OKLCHoklch(57.75% 0.214 304.4)
XYZxyz(28.3268, 16.8320, 70.1492)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974BDD #91DD4B
analogous
#4E4BDD #974BDD #DD4BDA
triadic
#974BDD #DD974B #4BDD97
tetradic
#974BDD #DD4E4B #91DD4B #4BDADD
square
#974BDD #DD4E4B #91DD4B #4BDADD
split-complementary
#974BDD #DADD4B #4BDD4E
monochromatic
#591C92 #7925C5 #974BDD #B57EE7 #D2B2F0

Accessibility & contrast

On white

4.81
#974BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#974BDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974BDD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974BDD#FFFFFF#000000##FFFFFF
##974BDD1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#1872DA
Tritanopia (blue-blind)
#8A6B8E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #974bdd;
/* rgb */ color: rgb(151, 75, 221);
/* oklch */ color: oklch(57.7% 0.214 304.4);
Tailwind
colors: {
  custom: {
    50: '#ba82e8',
    500: '#974bdd',
    950: '#000000',
  },
}
SCSS
$custom: #974bdd;
$custom-light: #ba82e8;
$custom-dark: #000000;
JSON
{
  "hex": "#974bdd",
  "rgb": {
    "r": 151,
    "g": 75,
    "b": 221
  },
  "hsl": {
    "h": 271.233,
    "s": 68.224,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57749,
    "c": 0.21425,
    "h": 304.4
  },
  "luminance": 0.16832
}

Semantic roles & 50–950 ramp

primary
#974BDD
secondary
#C1DFA5
accent
#EB3D90
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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