#974CBF#974CBF

#974CBF is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.9% C 0.181 H 312.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#974CBF
RGBrgb(151, 76, 191)
HSLhsl(279, 47%, 52%)
HSVhsv(279, 60%, 75%)
CMYKcmyk(20.9%, 60.2%, 0%, 25.1%)
CIE-LABlab(46.33, 50.64, -47.83)
CIE-LCHlch(46.33, 69.66, 316.63°)
OKLaboklab(55.9% 0.1213 -0.1344)
OKLCHoklch(55.9% 0.181 312.1)
XYZxyz(24.7492, 15.5104, 50.9702)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974CBF #74BF4C
analogous
#5D4CBF #974CBF #BF4CAE
triadic
#974CBF #BF974C #4CBF97
tetradic
#974CBF #BF5D4C #74BF4C #4CAEBF
square
#974CBF #BF5D4C #74BF4C #4CAEBF
split-complementary
#974CBF #AEBF4C #4CBF5D
monochromatic
#53266B #763698 #974CBF #B179CF #CBA6DF

Accessibility & contrast

On white

5.12
#974CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#974CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974CBF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974CBF#FFFFFF#000000##FFFFFF
##974CBF1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236AC3
Deuteranopia (green-blind)
#446FBC
Tritanopia (blue-blind)
#93617E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #974cbf;
/* rgb */ color: rgb(151, 76, 191);
/* oklch */ color: oklch(55.9% 0.181 312.1);
Tailwind
colors: {
  custom: {
    50: '#b982d3',
    500: '#974cbf',
    950: '#000000',
  },
}
SCSS
$custom: #974cbf;
$custom-light: #b982d3;
$custom-dark: #000000;
JSON
{
  "hex": "#974cbf",
  "rgb": {
    "r": 151,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 279.13,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55897,
    "c": 0.18104,
    "h": 312.1
  },
  "luminance": 0.1551
}

Semantic roles & 50–950 ramp

primary
#974CBF
secondary
#ACCC9A
accent
#D7517F
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #974CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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