#974FE7#974FE7

#974FE7 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.0% C 0.220 H 301.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#974FE7
RGBrgb(151, 79, 231)
HSLhsl(268, 76%, 61%)
HSVhsv(268, 66%, 91%)
CMYKcmyk(34.6%, 65.8%, 0%, 9.4%)
CIE-LABlab(49.42, 58.35, -65.75)
CIE-LCHlch(49.42, 87.91, 311.59°)
OKLaboklab(58.95% 0.1156 -0.187)
OKLCHoklch(58.95% 0.22 301.7)
XYZxyz(29.9788, 17.9407, 77.4693)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974FE7 #9FE74F
analogous
#4F53E7 #974FE7 #E34FE7
triadic
#974FE7 #E7974F #4FE797
tetradic
#974FE7 #E74F53 #9FE74F #4FE7E3
square
#974FE7 #E74F53 #9FE74F #4FE7E3
split-complementary
#974FE7 #E7E34F #53E74F
monochromatic
#5A17A5 #771EDB #974FE7 #B785EE #D7BBF6

Accessibility & contrast

On white

4.58
#974FE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#974FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #974FE7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974FE7#FFFFFF#000000##000000
##974FE71.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#0075E4
Tritanopia (blue-blind)
#867195
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #974fe7;
/* rgb */ color: rgb(151, 79, 231);
/* oklch */ color: oklch(59.0% 0.220 301.7);
Tailwind
colors: {
  custom: {
    50: '#bb85ef',
    500: '#974fe7',
    950: '#000000',
  },
}
SCSS
$custom: #974fe7;
$custom-light: #bb85ef;
$custom-dark: #000000;
JSON
{
  "hex": "#974fe7",
  "rgb": {
    "r": 151,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 268.421,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58953,
    "c": 0.21982,
    "h": 301.7
  },
  "luminance": 0.17941
}

Semantic roles & 50–950 ramp

primary
#974FE7
secondary
#CAE6AC
accent
#D80D78
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #974FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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