#974CE6#974CE6

#974CE6 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.5% C 0.223 H 302.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#974CE6
RGBrgb(151, 76, 230)
HSLhsl(269, 75%, 60%)
HSVhsv(269, 67%, 90%)
CMYKcmyk(34.3%, 67%, 0%, 9.8%)
CIE-LABlab(48.84, 59.55, -66.13)
CIE-LCHlch(48.84, 88.99, 312.00°)
OKLaboklab(58.51% 0.1188 -0.1881)
OKLCHoklch(58.51% 0.223 302.3)
XYZxyz(29.6265, 17.4613, 76.6571)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974CE6 #9BE64C
analogous
#4C4EE6 #974CE6 #E44CE6
triadic
#974CE6 #E6974C #4CE697
tetradic
#974CE6 #E64C4E #9BE64C #4CE6E4
square
#974CE6 #E64C4E #9BE64C #4CE6E4
split-complementary
#974CE6 #E6E44C #4EE64C
monochromatic
#5A17A1 #781ED7 #974CE6 #B682ED #D5B7F5

Accessibility & contrast

On white

4.67
#974CE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#974CE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974CE6
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974CE6#FFFFFF#000000##FFFFFF
##974CE61.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#0073E3
Tritanopia (blue-blind)
#876F93
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #974ce6;
/* rgb */ color: rgb(151, 76, 230);
/* oklch */ color: oklch(58.5% 0.223 302.3);
Tailwind
colors: {
  custom: {
    50: '#bb83ef',
    500: '#974ce6',
    950: '#000000',
  },
}
SCSS
$custom: #974ce6;
$custom-light: #bb83ef;
$custom-dark: #000000;
JSON
{
  "hex": "#974ce6",
  "rgb": {
    "r": 151,
    "g": 76,
    "b": 230
  },
  "hsl": {
    "h": 269.221,
    "s": 75.49,
    "l": 60
  },
  "oklch": {
    "l": 0.5851,
    "c": 0.22251,
    "h": 302.3
  },
  "luminance": 0.17461
}

Semantic roles & 50–950 ramp

primary
#974CE6
secondary
#C8E5A9
accent
#F23696
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #974CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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