#974CCB#974CCB

#974CCB is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.7% C 0.194 H 308.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#974CCB
RGBrgb(151, 76, 203)
HSLhsl(275, 55%, 55%)
HSVhsv(275, 63%, 80%)
CMYKcmyk(25.6%, 62.6%, 0%, 20.4%)
CIE-LABlab(47.05, 53.31, -53.61)
CIE-LCHlch(47.05, 75.60, 314.84°)
OKLaboklab(56.66% 0.1211 -0.1513)
OKLCHoklch(56.66% 0.194 308.7)
XYZxyz(26.1243, 16.0604, 58.2121)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974CCB #80CB4C
analogous
#584CCB #974CCB #CB4CBF
triadic
#974CCB #CB974C #4CCB97
tetradic
#974CCB #CB584C #80CB4C #4CBFCB
square
#974CCB #CB584C #80CB4C #4CBFCB
split-complementary
#974CCB #BFCB4C #4CCB58
monochromatic
#562379 #7831A9 #974CCB #B37BD9 #CEABE7

Accessibility & contrast

On white

4.99
#974CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#974CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974CCB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974CCB#FFFFFF#000000##FFFFFF
##974CCB1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#036DCF
Deuteranopia (green-blind)
#3871C8
Tritanopia (blue-blind)
#8F6585
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #974ccb;
/* rgb */ color: rgb(151, 76, 203);
/* oklch */ color: oklch(56.7% 0.194 308.7);
Tailwind
colors: {
  custom: {
    50: '#b982db',
    500: '#974ccb',
    950: '#000000',
  },
}
SCSS
$custom: #974ccb;
$custom-light: #b982db;
$custom-dark: #000000;
JSON
{
  "hex": "#974ccb",
  "rgb": {
    "r": 151,
    "g": 76,
    "b": 203
  },
  "hsl": {
    "h": 275.433,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5666,
    "c": 0.19379,
    "h": 308.7
  },
  "luminance": 0.1606
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #974CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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