#974DBF#974DBF

#974DBF is a mid, vivid violet. Relative luminance 0.156; OKLCH L 56.0% C 0.180 H 311.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#974DBF
RGBrgb(151, 77, 191)
HSLhsl(279, 47%, 53%)
HSVhsv(279, 60%, 75%)
CMYKcmyk(20.9%, 59.7%, 0%, 25.1%)
CIE-LABlab(46.51, 50.14, -47.54)
CIE-LCHlch(46.51, 69.09, 316.53°)
OKLaboklab(56.03% 0.12 -0.1335)
OKLCHoklch(56.03% 0.18 311.9)
XYZxyz(24.8187, 15.6493, 50.9933)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974DBF #75BF4D
analogous
#5E4DBF #974DBF #BF4DAE
triadic
#974DBF #BF974D #4DBF97
tetradic
#974DBF #BF5E4D #75BF4D #4DAEBF
square
#974DBF #BF5E4D #75BF4D #4DAEBF
split-complementary
#974DBF #AEBF4D #4DBF5E
monochromatic
#53276B #763798 #974DBF #B17ACF #CCA7DF

Accessibility & contrast

On white

5.08
#974DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#974DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974DBF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974DBF#FFFFFF#000000##FFFFFF
##974DBF1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256AC3
Deuteranopia (green-blind)
#4570BC
Tritanopia (blue-blind)
#93627F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #974dbf;
/* rgb */ color: rgb(151, 77, 191);
/* oklch */ color: oklch(56.0% 0.180 311.9);
Tailwind
colors: {
  custom: {
    50: '#b983d3',
    500: '#974dbf',
    950: '#000000',
  },
}
SCSS
$custom: #974dbf;
$custom-light: #b983d3;
$custom-dark: #000000;
JSON
{
  "hex": "#974dbf",
  "rgb": {
    "r": 151,
    "g": 77,
    "b": 191
  },
  "hsl": {
    "h": 278.947,
    "s": 47.107,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56032,
    "c": 0.17955,
    "h": 311.9
  },
  "luminance": 0.15649
}

Semantic roles & 50–950 ramp

primary
#974DBF
secondary
#ADCD9B
accent
#D75180
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #974DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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