#974AE0#974AE0

#974AE0 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.8% C 0.219 H 303.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#974AE0
RGBrgb(151, 74, 224)
HSLhsl(271, 71%, 58%)
HSVhsv(271, 67%, 88%)
CMYKcmyk(32.6%, 67%, 0%, 12.2%)
CIE-LABlab(48.08, 59.08, -63.96)
CIE-LCHlch(48.08, 87.07, 312.73°)
OKLaboklab(57.84% 0.1216 -0.1817)
OKLCHoklch(57.84% 0.219 303.8)
XYZxyz(28.6627, 16.8588, 72.2506)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974AE0 #93E04A
analogous
#4C4AE0 #974AE0 #E04ADE
triadic
#974AE0 #E0974A #4AE097
tetradic
#974AE0 #E04C4A #93E04A #4ADEE0
square
#974AE0 #E04C4A #93E04A #4ADEE0
split-complementary
#974AE0 #DEE04A #4AE04C
monochromatic
#591A96 #7923CA #974AE0 #B57EE9 #D3B3F2

Accessibility & contrast

On white

4.80
#974AE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#974AE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974AE0
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974AE0#FFFFFF#000000##FFFFFF
##974AE01.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E4
Deuteranopia (green-blind)
#0972DD
Tritanopia (blue-blind)
#896C8F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #974ae0;
/* rgb */ color: rgb(151, 74, 224);
/* oklch */ color: oklch(57.8% 0.219 303.8);
Tailwind
colors: {
  custom: {
    50: '#bb82eb',
    500: '#974ae0',
    950: '#000000',
  },
}
SCSS
$custom: #974ae0;
$custom-light: #bb82eb;
$custom-dark: #000000;
JSON
{
  "hex": "#974ae0",
  "rgb": {
    "r": 151,
    "g": 74,
    "b": 224
  },
  "hsl": {
    "h": 270.8,
    "s": 70.755,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57838,
    "c": 0.21867,
    "h": 303.8
  },
  "luminance": 0.16859
}

Semantic roles & 50–950 ramp

primary
#974AE0
secondary
#C2E1A5
accent
#EE3A92
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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