#974DCB#974DCB

#974DCB is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.8% C 0.192 H 308.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#974DCB
RGBrgb(151, 77, 203)
HSLhsl(275, 55%, 55%)
HSVhsv(275, 62%, 80%)
CMYKcmyk(25.6%, 62.1%, 0%, 20.4%)
CIE-LABlab(47.23, 52.81, -53.32)
CIE-LCHlch(47.23, 75.05, 314.73°)
OKLaboklab(56.79% 0.1199 -0.1505)
OKLCHoklch(56.79% 0.192 308.5)
XYZxyz(26.1937, 16.1993, 58.2352)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974DCB #81CB4D
analogous
#584DCB #974DCB #CB4DC0
triadic
#974DCB #CB974D #4DCB97
tetradic
#974DCB #CB584D #81CB4D #4DC0CB
square
#974DCB #CB584D #81CB4D #4DC0CB
split-complementary
#974DCB #C0CB4D #4DCB58
monochromatic
#56247A #7831A9 #974DCB #B37CD9 #CEACE7

Accessibility & contrast

On white

4.95
#974DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#974DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974DCB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974DCB#FFFFFF#000000##FFFFFF
##974DCB1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A6DCF
Deuteranopia (green-blind)
#3971C8
Tritanopia (blue-blind)
#8F6685
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #974dcb;
/* rgb */ color: rgb(151, 77, 203);
/* oklch */ color: oklch(56.8% 0.192 308.5);
Tailwind
colors: {
  custom: {
    50: '#b983db',
    500: '#974dcb',
    950: '#000000',
  },
}
SCSS
$custom: #974dcb;
$custom-light: #b983db;
$custom-dark: #000000;
JSON
{
  "hex": "#974dcb",
  "rgb": {
    "r": 151,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 275.238,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56791,
    "c": 0.19239,
    "h": 308.5
  },
  "luminance": 0.16199
}

Semantic roles & 50–950 ramp

primary
#974DCB
secondary
#B5D49F
accent
#DE4A87
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #974DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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