#976AEC#976AEC

#976AEC is a light, vivid violet. Relative luminance 0.229; OKLCH L 63.1% C 0.189 H 296.6°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#976AEC
RGBrgb(151, 106, 236)
HSLhsl(261, 77%, 67%)
HSVhsv(261, 55%, 93%)
CMYKcmyk(36%, 55.1%, 0%, 7.5%)
CIE-LABlab(55.01, 45.52, -59.55)
CIE-LCHlch(55.01, 74.95, 307.39°)
OKLaboklab(63.13% 0.0845 -0.1688)
OKLCHoklch(63.13% 0.189 296.6)
XYZxyz(33.0530, 22.9430, 82.0276)
Luminance0.2294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976AEC #BFEC6A
analogous
#6A7EEC #976AEC #D86AEC
triadic
#976AEC #EC976A #6AEC97
tetradic
#976AEC #EC6A7E #BFEC6A #6AECD8
square
#976AEC #EC6A7E #BFEC6A #6AECD8
split-complementary
#976AEC #ECD86A #7EEC6A
monochromatic
#5419C3 #7134E5 #976AEC #BDA0F3 #E3D7FA

Accessibility & contrast

On white

3.76
#976AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#976AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976AEC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976AEC#FFFFFF#000000##000000
##976AEC1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E84F0
Deuteranopia (green-blind)
#3D82E9
Tritanopia (blue-blind)
#8385A1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #976aec;
/* rgb */ color: rgb(151, 106, 236);
/* oklch */ color: oklch(63.1% 0.189 296.6);
Tailwind
colors: {
  custom: {
    50: '#ba96f3',
    500: '#976aec',
    950: '#000000',
  },
}
SCSS
$custom: #976aec;
$custom-light: #ba96f3;
$custom-dark: #000000;
JSON
{
  "hex": "#976aec",
  "rgb": {
    "r": 151,
    "g": 106,
    "b": 236
  },
  "hsl": {
    "h": 260.769,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.63125,
    "c": 0.18877,
    "h": 296.6
  },
  "luminance": 0.22944
}

Semantic roles & 50–950 ramp

primary
#976AEC
secondary
#DFEEC4
accent
#DA0C92
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #976AEC

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

Preview Lab → · Contrast checker → · Palette generator →

#976AEC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva