#974ACA#974ACA

#974ACA is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.3% C 0.196 H 309.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#974ACA
RGBrgb(151, 74, 202)
HSLhsl(276, 55%, 54%)
HSVhsv(276, 63%, 79%)
CMYKcmyk(25.2%, 63.4%, 0%, 20.8%)
CIE-LABlab(46.63, 54.06, -53.71)
CIE-LCHlch(46.63, 76.20, 315.19°)
OKLaboklab(56.34% 0.1235 -0.1516)
OKLCHoklch(56.34% 0.196 309.2)
XYZxyz(25.8698, 15.7416, 57.5413)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974ACA #7DCA4A
analogous
#574ACA #974ACA #CA4ABD
triadic
#974ACA #CA974A #4ACA97
tetradic
#974ACA #CA574A #7DCA4A #4ABDCA
square
#974ACA #CA574A #7DCA4A #4ABDCA
split-complementary
#974ACA #BDCA4A #4ACA57
monochromatic
#552377 #7731A6 #974ACA #B279D8 #CDA9E6

Accessibility & contrast

On white

5.06
#974ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#974ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974ACA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974ACA#FFFFFF#000000##FFFFFF
##974ACA1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#3770C7
Tritanopia (blue-blind)
#906483
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #974aca;
/* rgb */ color: rgb(151, 74, 202);
/* oklch */ color: oklch(56.3% 0.196 309.2);
Tailwind
colors: {
  custom: {
    50: '#b981db',
    500: '#974aca',
    950: '#000000',
  },
}
SCSS
$custom: #974aca;
$custom-light: #b981db;
$custom-dark: #000000;
JSON
{
  "hex": "#974aca",
  "rgb": {
    "r": 151,
    "g": 74,
    "b": 202
  },
  "hsl": {
    "h": 276.094,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56336,
    "c": 0.19552,
    "h": 309.2
  },
  "luminance": 0.15741
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #974ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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