#974BC0#974BC0

#974BC0 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.8% C 0.184 H 311.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#974BC0
RGBrgb(151, 75, 192)
HSLhsl(279, 48%, 52%)
HSVhsv(279, 61%, 75%)
CMYKcmyk(21.4%, 60.9%, 0%, 24.7%)
CIE-LABlab(46.20, 51.36, -48.61)
CIE-LCHlch(46.20, 70.72, 316.57°)
OKLaboklab(55.83% 0.1225 -0.1367)
OKLCHoklch(55.83% 0.184 311.9)
XYZxyz(24.7913, 15.4178, 51.5289)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974BC0 #74C04B
analogous
#5C4BC0 #974BC0 #C04BAF
triadic
#974BC0 #C0974B #4BC097
tetradic
#974BC0 #C05C4B #74C04B #4BAFC0
square
#974BC0 #C05C4B #74C04B #4BAFC0
split-complementary
#974BC0 #AFC04B #4BC05C
monochromatic
#53256B #763598 #974BC0 #B178D0 #CBA6E0

Accessibility & contrast

On white

5.14
#974BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#974BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974BC0
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974BC0#FFFFFF#000000##FFFFFF
##974BC01.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6AC4
Deuteranopia (green-blind)
#426FBD
Tritanopia (blue-blind)
#92617E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #974bc0;
/* rgb */ color: rgb(151, 75, 192);
/* oklch */ color: oklch(55.8% 0.184 311.9);
Tailwind
colors: {
  custom: {
    50: '#b981d4',
    500: '#974bc0',
    950: '#000000',
  },
}
SCSS
$custom: #974bc0;
$custom-light: #b981d4;
$custom-dark: #000000;
JSON
{
  "hex": "#974bc0",
  "rgb": {
    "r": 151,
    "g": 75,
    "b": 192
  },
  "hsl": {
    "h": 278.974,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55826,
    "c": 0.18356,
    "h": 311.9
  },
  "luminance": 0.15417
}

Semantic roles & 50–950 ramp

primary
#974BC0
secondary
#ACCD9A
accent
#D85080
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #974BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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