#976CEB#976CEB

#976CEB is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.4% C 0.185 H 296.4°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#976CEB
RGBrgb(151, 108, 235)
HSLhsl(260, 76%, 67%)
HSVhsv(260, 54%, 92%)
CMYKcmyk(35.7%, 54%, 0%, 7.8%)
CIE-LABlab(55.38, 44.15, -58.40)
CIE-LCHlch(55.38, 73.21, 307.09°)
OKLaboklab(63.38% 0.082 -0.1655)
OKLCHoklch(63.38% 0.185 296.4)
XYZxyz(33.1167, 23.3021, 81.3341)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CEB #C0EB6C
analogous
#6C81EB #976CEB #D76CEB
triadic
#976CEB #EB976C #6CEB97
tetradic
#976CEB #EB6C81 #C0EB6C #6CEBD7
square
#976CEB #EB6C81 #C0EB6C #6CEBD7
split-complementary
#976CEB #EBD76C #81EB6C
monochromatic
#531AC2 #7136E4 #976CEB #BDA2F2 #E3D8FA

Accessibility & contrast

On white

3.71
#976CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#976CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976CEB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976CEB#FFFFFF#000000##000000
##976CEB1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3485EF
Deuteranopia (green-blind)
#4183E8
Tritanopia (blue-blind)
#8386A1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #976ceb;
/* rgb */ color: rgb(151, 108, 235);
/* oklch */ color: oklch(63.4% 0.185 296.4);
Tailwind
colors: {
  custom: {
    50: '#ba97f2',
    500: '#976ceb',
    950: '#000000',
  },
}
SCSS
$custom: #976ceb;
$custom-light: #ba97f2;
$custom-dark: #000000;
JSON
{
  "hex": "#976ceb",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 260.315,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63378,
    "c": 0.18466,
    "h": 296.4
  },
  "luminance": 0.23303
}

Semantic roles & 50–950 ramp

primary
#976CEB
secondary
#E0EDC5
accent
#D80D94
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #976CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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