#976BEC#976BEC

#976BEC is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.3% C 0.187 H 296.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#976BEC
RGBrgb(151, 107, 236)
HSLhsl(260, 77%, 67%)
HSVhsv(260, 55%, 93%)
CMYKcmyk(36%, 54.7%, 0%, 7.5%)
CIE-LABlab(55.23, 44.96, -59.20)
CIE-LCHlch(55.23, 74.34, 307.22°)
OKLaboklab(63.28% 0.0833 -0.1678)
OKLCHoklch(63.28% 0.187 296.4)
XYZxyz(33.1567, 23.1503, 82.0622)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BEC #C0EC6B
analogous
#6B80EC #976BEC #D86BEC
triadic
#976BEC #EC976B #6BEC97
tetradic
#976BEC #EC6B80 #C0EC6B #6BECD8
square
#976BEC #EC6B80 #C0EC6B #6BECD8
split-complementary
#976BEC #ECD86B #80EC6B
monochromatic
#5319C4 #7135E5 #976BEC #BDA1F3 #E3D7FA

Accessibility & contrast

On white

3.73
#976BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#976BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BEC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BEC#FFFFFF#000000##000000
##976BEC1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3085F0
Deuteranopia (green-blind)
#3F83E9
Tritanopia (blue-blind)
#8385A1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #976bec;
/* rgb */ color: rgb(151, 107, 236);
/* oklch */ color: oklch(63.3% 0.187 296.4);
Tailwind
colors: {
  custom: {
    50: '#ba97f3',
    500: '#976bec',
    950: '#000000',
  },
}
SCSS
$custom: #976bec;
$custom-light: #ba97f3;
$custom-dark: #000000;
JSON
{
  "hex": "#976bec",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 260.465,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63282,
    "c": 0.18734,
    "h": 296.4
  },
  "luminance": 0.23151
}

Semantic roles & 50–950 ramp

primary
#976BEC
secondary
#E0EEC5
accent
#D90C93
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #976BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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