#974CBE#974CBE

#974CBE is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.8% C 0.180 H 312.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#974CBE
RGBrgb(151, 76, 190)
HSLhsl(279, 47%, 52%)
HSVhsv(279, 60%, 75%)
CMYKcmyk(20.5%, 60%, 0%, 25.5%)
CIE-LABlab(46.27, 50.42, -47.35)
CIE-LCHlch(46.27, 69.17, 316.80°)
OKLaboklab(55.84% 0.1213 -0.133)
OKLCHoklch(55.84% 0.18 312.4)
XYZxyz(24.6396, 15.4665, 50.3926)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974CBE #73BE4C
analogous
#5E4CBE #974CBE #BE4CAC
triadic
#974CBE #BE974C #4CBE97
tetradic
#974CBE #BE5E4C #73BE4C #4CACBE
square
#974CBE #BE5E4C #73BE4C #4CACBE
split-complementary
#974CBE #ACBE4C #4CBE5E
monochromatic
#522669 #763796 #974CBE #B179CE #CBA6DF

Accessibility & contrast

On white

5.13
#974CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#974CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974CBE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974CBE#FFFFFF#000000##FFFFFF
##974CBE1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246AC2
Deuteranopia (green-blind)
#446FBB
Tritanopia (blue-blind)
#93617E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #974cbe;
/* rgb */ color: rgb(151, 76, 190);
/* oklch */ color: oklch(55.8% 0.180 312.4);
Tailwind
colors: {
  custom: {
    50: '#b982d2',
    500: '#974cbe',
    950: '#000000',
  },
}
SCSS
$custom: #974cbe;
$custom-light: #b982d2;
$custom-dark: #000000;
JSON
{
  "hex": "#974cbe",
  "rgb": {
    "r": 151,
    "g": 76,
    "b": 190
  },
  "hsl": {
    "h": 279.474,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55836,
    "c": 0.17997,
    "h": 312.4
  },
  "luminance": 0.15466
}

Semantic roles & 50–950 ramp

primary
#974CBE
secondary
#ABCC9A
accent
#D6517F
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #974CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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