#974CCC#974CCC

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

Color values

HEX#974CCC
RGBrgb(151, 76, 204)
HSLhsl(275, 56%, 55%)
HSVhsv(275, 63%, 80%)
CMYKcmyk(26%, 62.7%, 0%, 20%)
CIE-LABlab(47.12, 53.53, -54.09)
CIE-LCHlch(47.12, 76.10, 314.71°)
OKLaboklab(56.73% 0.121 -0.1527)
OKLCHoklch(56.73% 0.195 308.4)
XYZxyz(26.2438, 16.1082, 58.8417)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974CCC #81CC4C
analogous
#574CCC #974CCC #CC4CC1
triadic
#974CCC #CC974C #4CCC97
tetradic
#974CCC #CC574C #81CC4C #4CC1CC
square
#974CCC #CC574C #81CC4C #4CC1CC
split-complementary
#974CCC #C1CC4C #4CCC57
monochromatic
#56237B #7831AA #974CCC #B37CDA #CEABE7

Accessibility & contrast

On white

4.97
#974CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#974CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974CCC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974CCC#FFFFFF#000000##FFFFFF
##974CCC1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD0
Deuteranopia (green-blind)
#3771C9
Tritanopia (blue-blind)
#8F6685
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #974ccc;
/* rgb */ color: rgb(151, 76, 204);
/* oklch */ color: oklch(56.7% 0.195 308.4);
Tailwind
colors: {
  custom: {
    50: '#b982dc',
    500: '#974ccc',
    950: '#000000',
  },
}
SCSS
$custom: #974ccc;
$custom-light: #b982dc;
$custom-dark: #000000;
JSON
{
  "hex": "#974ccc",
  "rgb": {
    "r": 151,
    "g": 76,
    "b": 204
  },
  "hsl": {
    "h": 275.156,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56725,
    "c": 0.19486,
    "h": 308.4
  },
  "luminance": 0.16108
}

Semantic roles & 50–950 ramp

primary
#974CCC
secondary
#B5D59F
accent
#DF4987
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #974CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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