#974FBF#974FBF

#974FBF is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.3% C 0.177 H 311.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#974FBF
RGBrgb(151, 79, 191)
HSLhsl(279, 47%, 53%)
HSVhsv(279, 59%, 75%)
CMYKcmyk(20.9%, 58.6%, 0%, 25.1%)
CIE-LABlab(46.89, 49.13, -46.94)
CIE-LCHlch(46.89, 67.95, 316.31°)
OKLaboklab(56.31% 0.1175 -0.1318)
OKLCHoklch(56.31% 0.177 311.7)
XYZxyz(24.9608, 15.9334, 51.0407)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974FBF #77BF4F
analogous
#5F4FBF #974FBF #BF4FAF
triadic
#974FBF #BF974F #4FBF97
tetradic
#974FBF #BF5F4F #77BF4F #4FAFBF
square
#974FBF #BF5F4F #77BF4F #4FAFBF
split-complementary
#974FBF #AFBF4F #4FBF5F
monochromatic
#54276C #763899 #974FBF #B27CCF #CCA9E0

Accessibility & contrast

On white

5.02
#974FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#974FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974FBF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974FBF#FFFFFF#000000##FFFFFF
##974FBF1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6CC3
Deuteranopia (green-blind)
#4771BC
Tritanopia (blue-blind)
#92637F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #974fbf;
/* rgb */ color: rgb(151, 79, 191);
/* oklch */ color: oklch(56.3% 0.177 311.7);
Tailwind
colors: {
  custom: {
    50: '#b884d3',
    500: '#974fbf',
    950: '#000000',
  },
}
SCSS
$custom: #974fbf;
$custom-light: #b884d3;
$custom-dark: #000000;
JSON
{
  "hex": "#974fbf",
  "rgb": {
    "r": 151,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 278.571,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56307,
    "c": 0.17655,
    "h": 311.7
  },
  "luminance": 0.15933
}

Semantic roles & 50–950 ramp

primary
#974FBF
secondary
#AECD9D
accent
#D65181
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #974FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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