#974BC2#974BC2

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

Color values

HEX#974BC2
RGBrgb(151, 75, 194)
HSLhsl(278, 49%, 53%)
HSVhsv(278, 61%, 76%)
CMYKcmyk(22.2%, 61.3%, 0%, 23.9%)
CIE-LABlab(46.32, 51.80, -49.58)
CIE-LCHlch(46.32, 71.70, 316.25°)
OKLaboklab(55.95% 0.1225 -0.1395)
OKLCHoklch(55.95% 0.186 311.3)
XYZxyz(25.0144, 15.5071, 52.7039)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974BC2 #76C24B
analogous
#5B4BC2 #974BC2 #C24BB2
triadic
#974BC2 #C2974B #4BC297
tetradic
#974BC2 #C25B4B #76C24B #4BB2C2
square
#974BC2 #C25B4B #76C24B #4BB2C2
split-complementary
#974BC2 #B2C24B #4BC25B
monochromatic
#53256D #76359B #974BC2 #B179D1 #CCA6E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##974BC2#FFFFFF#000000##FFFFFF
##974BC21.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)
#1B6AC6
Deuteranopia (green-blind)
#406FBF
Tritanopia (blue-blind)
#926280
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #974bc2;
/* rgb */ color: rgb(151, 75, 194);
/* oklch */ color: oklch(56.0% 0.186 311.3);
Tailwind
colors: {
  custom: {
    50: '#b981d5',
    500: '#974bc2',
    950: '#000000',
  },
}
SCSS
$custom: #974bc2;
$custom-light: #b981d5;
$custom-dark: #000000;
JSON
{
  "hex": "#974bc2",
  "rgb": {
    "r": 151,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 278.319,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55952,
    "c": 0.18567,
    "h": 311.3
  },
  "luminance": 0.15507
}

Semantic roles & 50–950 ramp

primary
#974BC2
secondary
#ADCE9B
accent
#D94F81
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #974BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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