#974EBF#974EBF

#974EBF is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.2% C 0.178 H 311.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#974EBF
RGBrgb(151, 78, 191)
HSLhsl(279, 47%, 53%)
HSVhsv(279, 59%, 75%)
CMYKcmyk(20.9%, 59.2%, 0%, 25.1%)
CIE-LABlab(46.70, 49.63, -47.24)
CIE-LCHlch(46.70, 68.52, 316.42°)
OKLaboklab(56.17% 0.1188 -0.1327)
OKLCHoklch(56.17% 0.178 311.8)
XYZxyz(24.8892, 15.7903, 51.0168)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974EBF #76BF4E
analogous
#5E4EBF #974EBF #BF4EAE
triadic
#974EBF #BF974E #4EBF97
tetradic
#974EBF #BF5E4E #76BF4E #4EAEBF
square
#974EBF #BF5E4E #76BF4E #4EAEBF
split-complementary
#974EBF #AEBF4E #4EBF5E
monochromatic
#53276C #763799 #974EBF #B17BCF #CCA8E0

Accessibility & contrast

On white

5.05
#974EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#974EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974EBF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974EBF#FFFFFF#000000##FFFFFF
##974EBF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276BC3
Deuteranopia (green-blind)
#4670BC
Tritanopia (blue-blind)
#92637F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #974ebf;
/* rgb */ color: rgb(151, 78, 191);
/* oklch */ color: oklch(56.2% 0.178 311.8);
Tailwind
colors: {
  custom: {
    50: '#b983d3',
    500: '#974ebf',
    950: '#000000',
  },
}
SCSS
$custom: #974ebf;
$custom-light: #b983d3;
$custom-dark: #000000;
JSON
{
  "hex": "#974ebf",
  "rgb": {
    "r": 151,
    "g": 78,
    "b": 191
  },
  "hsl": {
    "h": 278.761,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56169,
    "c": 0.17805,
    "h": 311.8
  },
  "luminance": 0.1579
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #974EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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