#976CDB#976CDB

#976CDB is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.4% C 0.165 H 299.5°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#976CDB
RGBrgb(151, 108, 219)
HSLhsl(263, 61%, 64%)
HSVhsv(263, 51%, 86%)
CMYKcmyk(31.1%, 50.7%, 0%, 14.1%)
CIE-LABlab(54.47, 40.09, -50.87)
CIE-LCHlch(54.47, 64.77, 308.24°)
OKLaboklab(62.41% 0.0811 -0.1434)
OKLCHoklch(62.41% 0.165 299.5)
XYZxyz(30.9082, 22.4187, 69.7030)
Luminance0.2242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CDB #B0DB6C
analogous
#6C79DB #976CDB #CF6CDB
triadic
#976CDB #DB976C #6CDB97
tetradic
#976CDB #DB6C79 #B0DB6C #6CDBCF
square
#976CDB #DB6C79 #B0DB6C #6CDBCF
split-complementary
#976CDB #DBCF6C #79DB6C
monochromatic
#5828A4 #743BCF #976CDB #BA9DE7 #DDCEF3

Accessibility & contrast

On white

3.83
#976CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#976CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976CDB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976CDB#FFFFFF#000000##000000
##976CDB1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4582DF
Deuteranopia (green-blind)
#5181D8
Tritanopia (blue-blind)
#898199
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #976cdb;
/* rgb */ color: rgb(151, 108, 219);
/* oklch */ color: oklch(62.4% 0.165 299.5);
Tailwind
colors: {
  custom: {
    50: '#b997e7',
    500: '#976cdb',
    950: '#000000',
  },
}
SCSS
$custom: #976cdb;
$custom-light: #b997e7;
$custom-dark: #000000;
JSON
{
  "hex": "#976cdb",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 219
  },
  "hsl": {
    "h": 263.243,
    "s": 60.656,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62406,
    "c": 0.16474,
    "h": 299.5
  },
  "luminance": 0.22419
}

Semantic roles & 50–950 ramp

primary
#976CDB
secondary
#D6E5BE
accent
#C81D86
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #976CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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