#976CEC#976CEC

#976CEC is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.4% C 0.186 H 296.2°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#976CEC
RGBrgb(151, 108, 236)
HSLhsl(260, 77%, 67%)
HSVhsv(260, 54%, 93%)
CMYKcmyk(36%, 54.2%, 0%, 7.5%)
CIE-LABlab(55.44, 44.41, -58.86)
CIE-LCHlch(55.44, 73.73, 307.04°)
OKLaboklab(63.44% 0.0821 -0.1668)
OKLCHoklch(63.44% 0.186 296.2)
XYZxyz(33.2615, 23.3600, 82.0971)
Luminance0.2336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CEC #C1EC6C
analogous
#6C81EC #976CEC #D76CEC
triadic
#976CEC #EC976C #6CEC97
tetradic
#976CEC #EC6C81 #C1EC6C #6CECD7
square
#976CEC #EC6C81 #C1EC6C #6CECD7
split-complementary
#976CEC #ECD76C #81EC6C
monochromatic
#5319C4 #7136E5 #976CEC #BDA2F3 #E4D8FA

Accessibility & contrast

On white

3.70
#976CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#976CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976CEC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976CEC#FFFFFF#000000##000000
##976CEC1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3386F0
Deuteranopia (green-blind)
#4083E9
Tritanopia (blue-blind)
#8386A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #976cec;
/* rgb */ color: rgb(151, 108, 236);
/* oklch */ color: oklch(63.4% 0.186 296.2);
Tailwind
colors: {
  custom: {
    50: '#ba97f3',
    500: '#976cec',
    950: '#000000',
  },
}
SCSS
$custom: #976cec;
$custom-light: #ba97f3;
$custom-dark: #000000;
JSON
{
  "hex": "#976cec",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 236
  },
  "hsl": {
    "h": 260.156,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63441,
    "c": 0.1859,
    "h": 296.2
  },
  "luminance": 0.23361
}

Semantic roles & 50–950 ramp

primary
#976CEC
secondary
#E0EEC6
accent
#D90C94
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #976CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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