#974CCD#974CCD

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

Color values

HEX#974CCD
RGBrgb(151, 76, 205)
HSLhsl(275, 56%, 55%)
HSVhsv(275, 63%, 80%)
CMYKcmyk(26.3%, 62.9%, 0%, 19.6%)
CIE-LABlab(47.18, 53.76, -54.56)
CIE-LCHlch(47.18, 76.60, 314.58°)
OKLaboklab(56.79% 0.121 -0.1541)
OKLCHoklch(56.79% 0.196 308.1)
XYZxyz(26.3641, 16.1564, 59.4754)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974CCD #82CD4C
analogous
#574CCD #974CCD #CD4CC2
triadic
#974CCD #CD974C #4CCD97
tetradic
#974CCD #CD574C #82CD4C #4CC2CD
square
#974CCD #CD574C #82CD4C #4CC2CD
split-complementary
#974CCD #C2CD4C #4CCD57
monochromatic
#57237C #7830AC #974CCD #B37CDA #CFACE8

Accessibility & contrast

On white

4.96
#974CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#974CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974CCD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974CCD#FFFFFF#000000##FFFFFF
##974CCD1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#3671CA
Tritanopia (blue-blind)
#8F6686
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #974ccd;
/* rgb */ color: rgb(151, 76, 205);
/* oklch */ color: oklch(56.8% 0.196 308.1);
Tailwind
colors: {
  custom: {
    50: '#b982dd',
    500: '#974ccd',
    950: '#000000',
  },
}
SCSS
$custom: #974ccd;
$custom-light: #b982dd;
$custom-dark: #000000;
JSON
{
  "hex": "#974ccd",
  "rgb": {
    "r": 151,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 274.884,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5679,
    "c": 0.19593,
    "h": 308.1
  },
  "luminance": 0.16156
}

Semantic roles & 50–950 ramp

primary
#974CCD
secondary
#B6D59F
accent
#E04888
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #974CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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