#974FE0#974FE0

#974FE0 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.5% C 0.212 H 303.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#974FE0
RGBrgb(151, 79, 224)
HSLhsl(270, 70%, 59%)
HSVhsv(270, 65%, 88%)
CMYKcmyk(32.6%, 64.7%, 0%, 12.2%)
CIE-LABlab(48.95, 56.69, -62.56)
CIE-LCHlch(48.95, 84.42, 312.18°)
OKLaboklab(58.46% 0.1163 -0.1776)
OKLCHoklch(58.46% 0.212 303.2)
XYZxyz(29.0099, 17.5531, 72.3663)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974FE0 #98E04F
analogous
#4F50E0 #974FE0 #DF4FE0
triadic
#974FE0 #E0974F #4FE097
tetradic
#974FE0 #E04F50 #98E04F #4FE0DF
square
#974FE0 #E04F50 #98E04F #4FE0DF
split-complementary
#974FE0 #E0DF4F #50E04F
monochromatic
#5A1B9A #7824CE #974FE0 #B683E9 #D4B7F2

Accessibility & contrast

On white

4.66
#974FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#974FE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #974FE0
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974FE0#FFFFFF#000000##FFFFFF
##974FE01.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E4
Deuteranopia (green-blind)
#1B74DD
Tritanopia (blue-blind)
#896F91
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #974fe0;
/* rgb */ color: rgb(151, 79, 224);
/* oklch */ color: oklch(58.5% 0.212 303.2);
Tailwind
colors: {
  custom: {
    50: '#ba85ea',
    500: '#974fe0',
    950: '#000000',
  },
}
SCSS
$custom: #974fe0;
$custom-light: #ba85ea;
$custom-dark: #000000;
JSON
{
  "hex": "#974fe0",
  "rgb": {
    "r": 151,
    "g": 79,
    "b": 224
  },
  "hsl": {
    "h": 269.793,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58461,
    "c": 0.21228,
    "h": 303.2
  },
  "luminance": 0.17553
}

Semantic roles & 50–950 ramp

primary
#974FE0
secondary
#C6E2A9
accent
#ED3B95
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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