#974FE1#974FE1

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

Color values

HEX#974FE1
RGBrgb(151, 79, 225)
HSLhsl(270, 71%, 60%)
HSVhsv(270, 65%, 88%)
CMYKcmyk(32.9%, 64.9%, 0%, 11.8%)
CIE-LABlab(49.02, 56.93, -63.01)
CIE-LCHlch(49.02, 84.92, 312.09°)
OKLaboklab(58.53% 0.1162 -0.179)
OKLCHoklch(58.53% 0.213 303)
XYZxyz(29.1459, 17.6075, 73.0827)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974FE1 #99E14F
analogous
#4F50E1 #974FE1 #E04FE1
triadic
#974FE1 #E1974F #4FE197
tetradic
#974FE1 #E14F50 #99E14F #4FE1E0
square
#974FE1 #E14F50 #99E14F #4FE1E0
split-complementary
#974FE1 #E1E04F #50E14F
monochromatic
#5A1A9B #7823CF #974FE1 #B683EA #D5B8F3

Accessibility & contrast

On white

4.64
#974FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#974FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #974FE1
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974FE1#FFFFFF#000000##FFFFFF
##974FE11.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#1874DE
Tritanopia (blue-blind)
#886F91
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #974fe1;
/* rgb */ color: rgb(151, 79, 225);
/* oklch */ color: oklch(58.5% 0.213 303.0);
Tailwind
colors: {
  custom: {
    50: '#bb85eb',
    500: '#974fe1',
    950: '#000000',
  },
}
SCSS
$custom: #974fe1;
$custom-light: #bb85eb;
$custom-dark: #000000;
JSON
{
  "hex": "#974fe1",
  "rgb": {
    "r": 151,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 269.589,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58531,
    "c": 0.21335,
    "h": 303
  },
  "luminance": 0.17608
}

Semantic roles & 50–950 ramp

primary
#974FE1
secondary
#C6E2AA
accent
#EE3A95
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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