#974EFF#974EFF

#974EFF is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.6% C 0.247 H 297.3°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#974EFF
RGBrgb(151, 78, 255)
HSLhsl(265, 100%, 65%)
HSVhsv(265, 69%, 100%)
CMYKcmyk(40.8%, 69.4%, 0%, 0%)
CIE-LABlab(50.98, 64.61, -76.66)
CIE-LCHlch(50.98, 100.26, 310.13°)
OKLaboklab(60.6% 0.1131 -0.2191)
OKLCHoklch(60.6% 0.247 297.3)
XYZxyz(33.5322, 19.2475, 96.5368)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974EFF #B6FF4E
analogous
#4E5DFF #974EFF #F04EFF
triadic
#974EFF #FF974E #4EFF97
tetradic
#974EFF #FF4E5D #B6FF4E #4EFFF0
square
#974EFF #FF4E5D #B6FF4E #4EFFF0
split-complementary
#974EFF #FFF04E #5DFF4E
monochromatic
#5700D3 #7311FF #974EFF #BB8BFF #DFC8FF

Accessibility & contrast

On white

4.33
#974EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#974EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #974EFF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974EFF#FFFFFF#000000##000000
##974EFF1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0077FB
Tritanopia (blue-blind)
#7D7AA1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #974eff;
/* rgb */ color: rgb(151, 78, 255);
/* oklch */ color: oklch(60.6% 0.247 297.3);
Tailwind
colors: {
  custom: {
    50: '#bd85ff',
    500: '#974eff',
    950: '#000000',
  },
}
SCSS
$custom: #974eff;
$custom-light: #bd85ff;
$custom-dark: #000000;
JSON
{
  "hex": "#974eff",
  "rgb": {
    "r": 151,
    "g": 78,
    "b": 255
  },
  "hsl": {
    "h": 264.746,
    "s": 100,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60602,
    "c": 0.24655,
    "h": 297.3
  },
  "luminance": 0.19248
}

Semantic roles & 50–950 ramp

primary
#974EFF
secondary
#DAF2B7
accent
#E60087
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130B18
muted
#827C86

Preview Lab

Preview with #974EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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