#974DEC#974DEC

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

Color values

HEX#974DEC
RGBrgb(151, 77, 236)
HSLhsl(268, 81%, 61%)
HSVhsv(268, 67%, 93%)
CMYKcmyk(36%, 67.4%, 0%, 7.5%)
CIE-LABlab(49.43, 60.50, -68.56)
CIE-LCHlch(49.43, 91.44, 311.43°)
OKLaboklab(59.07% 0.117 -0.1953)
OKLCHoklch(59.07% 0.228 300.9)
XYZxyz(30.5530, 17.9430, 81.1943)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974DEC #A2EC4D
analogous
#4D53EC #974DEC #E74DEC
triadic
#974DEC #EC974D #4DEC97
tetradic
#974DEC #EC4D53 #A2EC4D #4DECE7
square
#974DEC #EC4D53 #A2EC4D #4DECE7
split-complementary
#974DEC #ECE74D #53EC4D
monochromatic
#5A12AC #7718E4 #974DEC #B784F2 #D8BCF8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##974DEC#FFFFFF#000000##000000
##974DEC1.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)
#0075F1
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#857297
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #974dec;
/* rgb */ color: rgb(151, 77, 236);
/* oklch */ color: oklch(59.1% 0.228 300.9);
Tailwind
colors: {
  custom: {
    50: '#bb84f3',
    500: '#974dec',
    950: '#000000',
  },
}
SCSS
$custom: #974dec;
$custom-light: #bb84f3;
$custom-dark: #000000;
JSON
{
  "hex": "#974dec",
  "rgb": {
    "r": 151,
    "g": 77,
    "b": 236
  },
  "hsl": {
    "h": 267.925,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59065,
    "c": 0.22764,
    "h": 300.9
  },
  "luminance": 0.17943
}

Semantic roles & 50–950 ramp

primary
#974DEC
secondary
#CCE8AD
accent
#DD087A
background
#FCF8FF
surface
#F8EFFE
border
#D1CAD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #974DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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