#974BCB#974BCB

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

Color values

HEX#974BCB
RGBrgb(151, 75, 203)
HSLhsl(276, 55%, 55%)
HSVhsv(276, 63%, 80%)
CMYKcmyk(25.6%, 63.1%, 0%, 20.4%)
CIE-LABlab(46.87, 53.80, -53.90)
CIE-LCHlch(46.87, 76.15, 314.95°)
OKLaboklab(56.53% 0.1222 -0.1522)
OKLCHoklch(56.53% 0.195 308.8)
XYZxyz(26.0559, 15.9237, 58.1893)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974BCB #7FCB4B
analogous
#574BCB #974BCB #CB4BBF
triadic
#974BCB #CB974B #4BCB97
tetradic
#974BCB #CB574B #7FCB4B #4BBFCB
square
#974BCB #CB574B #7FCB4B #4BBFCB
split-complementary
#974BCB #BFCB4B #4BCB57
monochromatic
#562379 #7831A8 #974BCB #B27AD9 #CEAAE6

Accessibility & contrast

On white

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

On black

4.18
#974BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##974BCB#FFFFFF#000000##FFFFFF
##974BCB1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#3770C8
Tritanopia (blue-blind)
#8F6584
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #974bcb;
/* rgb */ color: rgb(151, 75, 203);
/* oklch */ color: oklch(56.5% 0.195 308.8);
Tailwind
colors: {
  custom: {
    50: '#b982db',
    500: '#974bcb',
    950: '#000000',
  },
}
SCSS
$custom: #974bcb;
$custom-light: #b982db;
$custom-dark: #000000;
JSON
{
  "hex": "#974bcb",
  "rgb": {
    "r": 151,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 275.625,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5653,
    "c": 0.19519,
    "h": 308.8
  },
  "luminance": 0.15923
}

Semantic roles & 50–950 ramp

primary
#974BCB
secondary
#B4D49E
accent
#DF4986
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #974BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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