#974FE4#974FE4

#974FE4 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.7% C 0.217 H 302.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#974FE4
RGBrgb(151, 79, 228)
HSLhsl(269, 73%, 60%)
HSVhsv(269, 65%, 89%)
CMYKcmyk(33.8%, 65.4%, 0%, 10.6%)
CIE-LABlab(49.22, 57.64, -64.38)
CIE-LCHlch(49.22, 86.41, 311.84°)
OKLaboklab(58.74% 0.1159 -0.183)
OKLCHoklch(58.74% 0.217 302.3)
XYZxyz(29.5588, 17.7727, 75.2570)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974FE4 #9CE44F
analogous
#4F52E4 #974FE4 #E14FE4
triadic
#974FE4 #E4974F #4FE497
tetradic
#974FE4 #E44F52 #9CE44F #4FE4E1
square
#974FE4 #E44F52 #9CE44F #4FE4E1
split-complementary
#974FE4 #E4E14F #52E44F
monochromatic
#5A19A0 #7821D5 #974FE4 #B684EC #D6B9F4

Accessibility & contrast

On white

4.61
#974FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#974FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #974FE4
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974FE4#FFFFFF#000000##FFFFFF
##974FE41.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E9
Deuteranopia (green-blind)
#0D74E1
Tritanopia (blue-blind)
#877093
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #974fe4;
/* rgb */ color: rgb(151, 79, 228);
/* oklch */ color: oklch(58.7% 0.217 302.3);
Tailwind
colors: {
  custom: {
    50: '#bb85ed',
    500: '#974fe4',
    950: '#000000',
  },
}
SCSS
$custom: #974fe4;
$custom-light: #bb85ed;
$custom-dark: #000000;
JSON
{
  "hex": "#974fe4",
  "rgb": {
    "r": 151,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 268.993,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58741,
    "c": 0.21659,
    "h": 302.3
  },
  "luminance": 0.17773
}

Semantic roles & 50–950 ramp

primary
#974FE4
secondary
#C8E4AB
accent
#D61076
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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