#974EE9#974EE9

#974EE9 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.0% C 0.223 H 301.4°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#974EE9
RGBrgb(151, 78, 233)
HSLhsl(268, 78%, 61%)
HSVhsv(268, 67%, 91%)
CMYKcmyk(35.2%, 66.5%, 0%, 8.6%)
CIE-LABlab(49.39, 59.31, -66.93)
CIE-LCHlch(49.39, 89.43, 311.54°)
OKLaboklab(58.97% 0.1164 -0.1905)
OKLCHoklch(58.97% 0.223 301.4)
XYZxyz(30.1913, 17.9111, 78.9416)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974EE9 #A0E94E
analogous
#4E52E9 #974EE9 #E44EE9
triadic
#974EE9 #E9974E #4EE997
tetradic
#974EE9 #E94E52 #A0E94E #4EE9E4
square
#974EE9 #E94E52 #A0E94E #4EE9E4
split-complementary
#974EE9 #E9E44E #52E94E
monochromatic
#5A15A8 #771CDE #974EE9 #B784F0 #D7BBF7

Accessibility & contrast

On white

4.58
#974EE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#974EE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #974EE9
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974EE9#FFFFFF#000000##000000
##974EE91.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EE
Deuteranopia (green-blind)
#0075E6
Tritanopia (blue-blind)
#867295
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #974ee9;
/* rgb */ color: rgb(151, 78, 233);
/* oklch */ color: oklch(59.0% 0.223 301.4);
Tailwind
colors: {
  custom: {
    50: '#bb84f1',
    500: '#974ee9',
    950: '#000000',
  },
}
SCSS
$custom: #974ee9;
$custom-light: #bb84f1;
$custom-dark: #000000;
JSON
{
  "hex": "#974ee9",
  "rgb": {
    "r": 151,
    "g": 78,
    "b": 233
  },
  "hsl": {
    "h": 268.258,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58971,
    "c": 0.22321,
    "h": 301.4
  },
  "luminance": 0.17911
}

Semantic roles & 50–950 ramp

primary
#974EE9
secondary
#CBE7AC
accent
#DA0B79
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #974EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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