#974AE6#974AE6

#974AE6 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.3% C 0.225 H 302.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#974AE6
RGBrgb(151, 74, 230)
HSLhsl(270, 76%, 60%)
HSVhsv(270, 68%, 90%)
CMYKcmyk(34.3%, 67.8%, 0%, 9.8%)
CIE-LABlab(48.50, 60.48, -66.68)
CIE-LCHlch(48.50, 90.03, 312.21°)
OKLaboklab(58.27% 0.1209 -0.1897)
OKLCHoklch(58.27% 0.225 302.5)
XYZxyz(29.4908, 17.1900, 76.6119)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974AE6 #99E64A
analogous
#4A4BE6 #974AE6 #E54AE6
triadic
#974AE6 #E6974A #4AE697
tetradic
#974AE6 #E64A4B #99E64A #4AE6E5
square
#974AE6 #E64A4B #99E64A #4AE6E5
split-complementary
#974AE6 #E6E54A #4BE64A
monochromatic
#5A16A0 #781DD5 #974AE6 #B680ED #D5B6F5

Accessibility & contrast

On white

4.73
#974AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#974AE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974AE6
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974AE6#FFFFFF#000000##FFFFFF
##974AE61.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EB
Deuteranopia (green-blind)
#0073E3
Tritanopia (blue-blind)
#876E92
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #974ae6;
/* rgb */ color: rgb(151, 74, 230);
/* oklch */ color: oklch(58.3% 0.225 302.5);
Tailwind
colors: {
  custom: {
    50: '#bb82ef',
    500: '#974ae6',
    950: '#000000',
  },
}
SCSS
$custom: #974ae6;
$custom-light: #bb82ef;
$custom-dark: #000000;
JSON
{
  "hex": "#974ae6",
  "rgb": {
    "r": 151,
    "g": 74,
    "b": 230
  },
  "hsl": {
    "h": 269.615,
    "s": 75.728,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58268,
    "c": 0.22495,
    "h": 302.5
  },
  "luminance": 0.1719
}

Semantic roles & 50–950 ramp

primary
#974AE6
secondary
#C6E4A8
accent
#F23595
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #974AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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