#974FE6#974FE6

#974FE6 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.9% C 0.219 H 301.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#974FE6
RGBrgb(151, 79, 230)
HSLhsl(269, 75%, 61%)
HSVhsv(269, 66%, 90%)
CMYKcmyk(34.3%, 65.7%, 0%, 9.8%)
CIE-LABlab(49.36, 58.11, -65.29)
CIE-LCHlch(49.36, 87.41, 311.67°)
OKLaboklab(58.88% 0.1157 -0.1857)
OKLCHoklch(58.88% 0.219 301.9)
XYZxyz(29.8380, 17.8843, 76.7276)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974FE6 #9EE64F
analogous
#4F53E6 #974FE6 #E24FE6
triadic
#974FE6 #E6974F #4FE697
tetradic
#974FE6 #E64F53 #9EE64F #4FE6E2
square
#974FE6 #E64F53 #9EE64F #4FE6E2
split-complementary
#974FE6 #E6E24F #53E64F
monochromatic
#5A17A3 #781FD9 #974FE6 #B785EE #D6BAF5

Accessibility & contrast

On white

4.59
#974FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #974FE6
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974FE6#FFFFFF#000000##FFFFFF
##974FE61.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EB
Deuteranopia (green-blind)
#0275E3
Tritanopia (blue-blind)
#877194
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #974fe6;
/* rgb */ color: rgb(151, 79, 230);
/* oklch */ color: oklch(58.9% 0.219 301.9);
Tailwind
colors: {
  custom: {
    50: '#bb85ef',
    500: '#974fe6',
    950: '#000000',
  },
}
SCSS
$custom: #974fe6;
$custom-light: #bb85ef;
$custom-dark: #000000;
JSON
{
  "hex": "#974fe6",
  "rgb": {
    "r": 151,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 268.609,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58882,
    "c": 0.21874,
    "h": 301.9
  },
  "luminance": 0.17884
}

Semantic roles & 50–950 ramp

primary
#974FE6
secondary
#CAE5AC
accent
#D70E77
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #974FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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