#974AEB#974AEB

#974AEB is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.6% C 0.230 H 301.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#974AEB
RGBrgb(151, 74, 235)
HSLhsl(269, 80%, 61%)
HSVhsv(269, 69%, 92%)
CMYKcmyk(35.7%, 68.5%, 0%, 7.8%)
CIE-LABlab(48.85, 61.66, -68.93)
CIE-LCHlch(48.85, 92.48, 311.81°)
OKLaboklab(58.63% 0.1202 -0.1963)
OKLCHoklch(58.63% 0.23 301.5)
XYZxyz(30.2031, 17.4749, 80.3629)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974AEB #9EEB4A
analogous
#4A4DEB #974AEB #E84AEB
triadic
#974AEB #EB974A #4AEB97
tetradic
#974AEB #EB4A4D #9EEB4A #4AEBE8
square
#974AEB #EB4A4D #9EEB4A #4AEBE8
split-complementary
#974AEB #EBE84A #4DEB4A
monochromatic
#5A13A8 #7819DF #974AEB #B781F1 #D6B8F7

Accessibility & contrast

On white

4.67
#974AEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#974AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #974AEB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974AEB#FFFFFF#000000##FFFFFF
##974AEB1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F0
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#857095
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #974aeb;
/* rgb */ color: rgb(151, 74, 235);
/* oklch */ color: oklch(58.6% 0.230 301.5);
Tailwind
colors: {
  custom: {
    50: '#bc82f2',
    500: '#974aeb',
    950: '#000000',
  },
}
SCSS
$custom: #974aeb;
$custom-light: #bc82f2;
$custom-dark: #000000;
JSON
{
  "hex": "#974aeb",
  "rgb": {
    "r": 151,
    "g": 74,
    "b": 235
  },
  "hsl": {
    "h": 268.696,
    "s": 80.1,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58633,
    "c": 0.23018,
    "h": 301.5
  },
  "luminance": 0.17475
}

Semantic roles & 50–950 ramp

primary
#974AEB
secondary
#CAE7AA
accent
#DC0977
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #974AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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