#974BCA#974BCA

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

Color values

HEX#974BCA
RGBrgb(151, 75, 202)
HSLhsl(276, 55%, 54%)
HSVhsv(276, 63%, 79%)
CMYKcmyk(25.2%, 62.9%, 0%, 20.8%)
CIE-LABlab(46.81, 53.57, -53.42)
CIE-LCHlch(46.81, 75.66, 315.08°)
OKLaboklab(56.46% 0.1223 -0.1508)
OKLCHoklch(56.46% 0.194 309)
XYZxyz(25.9371, 15.8762, 57.5637)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974BCA #7ECA4B
analogous
#584BCA #974BCA #CA4BBD
triadic
#974BCA #CA974B #4BCA97
tetradic
#974BCA #CA584B #7ECA4B #4BBDCA
square
#974BCA #CA584B #7ECA4B #4BBDCA
split-complementary
#974BCA #BDCA4B #4BCA58
monochromatic
#562377 #7731A7 #974BCA #B27AD8 #CEAAE6

Accessibility & contrast

On white

5.03
#974BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #974BCA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974BCA#FFFFFF#000000##FFFFFF
##974BCA1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016CCE
Deuteranopia (green-blind)
#3870C7
Tritanopia (blue-blind)
#906484
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #974bca;
/* rgb */ color: rgb(151, 75, 202);
/* oklch */ color: oklch(56.5% 0.194 309.0);
Tailwind
colors: {
  custom: {
    50: '#b982db',
    500: '#974bca',
    950: '#000000',
  },
}
SCSS
$custom: #974bca;
$custom-light: #b982db;
$custom-dark: #000000;
JSON
{
  "hex": "#974bca",
  "rgb": {
    "r": 151,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 275.906,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56464,
    "c": 0.19414,
    "h": 309
  },
  "luminance": 0.15876
}

Semantic roles & 50–950 ramp

primary
#974BCA
secondary
#B3D39D
accent
#DE4A85
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #974BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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