#974AC2#974AC2

#974AC2 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.8% C 0.187 H 311.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#974AC2
RGBrgb(151, 74, 194)
HSLhsl(279, 50%, 53%)
HSVhsv(279, 62%, 76%)
CMYKcmyk(22.2%, 61.9%, 0%, 23.9%)
CIE-LABlab(46.14, 52.29, -49.87)
CIE-LCHlch(46.14, 72.26, 316.35°)
OKLaboklab(55.82% 0.1237 -0.1404)
OKLCHoklch(55.82% 0.187 311.4)
XYZxyz(24.9471, 15.3725, 52.6815)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974AC2 #75C24A
analogous
#5B4AC2 #974AC2 #C24AB1
triadic
#974AC2 #C2974A #4AC297
tetradic
#974AC2 #C25B4A #75C24A #4AB1C2
square
#974AC2 #C25B4A #75C24A #4AB1C2
split-complementary
#974AC2 #B1C24A #4AC25B
monochromatic
#53256D #76349B #974AC2 #B178D1 #CCA6E1

Accessibility & contrast

On white

5.15
#974AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#974AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974AC2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974AC2#FFFFFF#000000##FFFFFF
##974AC21.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176AC6
Deuteranopia (green-blind)
#3F6FBF
Tritanopia (blue-blind)
#92617F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #974ac2;
/* rgb */ color: rgb(151, 74, 194);
/* oklch */ color: oklch(55.8% 0.187 311.4);
Tailwind
colors: {
  custom: {
    50: '#b981d5',
    500: '#974ac2',
    950: '#000000',
  },
}
SCSS
$custom: #974ac2;
$custom-light: #b981d5;
$custom-dark: #000000;
JSON
{
  "hex": "#974ac2",
  "rgb": {
    "r": 151,
    "g": 74,
    "b": 194
  },
  "hsl": {
    "h": 278.5,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5582,
    "c": 0.18711,
    "h": 311.4
  },
  "luminance": 0.15372
}

Semantic roles & 50–950 ramp

primary
#974AC2
secondary
#ADCE9A
accent
#D94F80
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #974AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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