#976FCB#976FCB

#976FCB is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.0% C 0.140 H 302.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#976FCB
RGBrgb(151, 111, 203)
HSLhsl(266, 47%, 62%)
HSVhsv(266, 45%, 80%)
CMYKcmyk(25.6%, 45.3%, 0%, 20.4%)
CIE-LABlab(54.30, 34.45, -42.07)
CIE-LCHlch(54.30, 54.37, 309.31°)
OKLaboklab(62.01% 0.0753 -0.1177)
OKLCHoklch(62.01% 0.14 302.6)
XYZxyz(29.2241, 22.2600, 59.2453)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FCB #A3CB6F
analogous
#6F75CB #976FCB #C56FCB
triadic
#976FCB #CB976F #6FCB97
tetradic
#976FCB #CB6F75 #A3CB6F #6FCBC5
square
#976FCB #CB6F75 #A3CB6F #6FCBC5
split-complementary
#976FCB #CBC56F #75CB6F
monochromatic
#5A338D #7743BA #976FCB #B79CDB #D8C9EB

Accessibility & contrast

On white

3.85
#976FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#976FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FCB
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FCB#FFFFFF#000000##000000
##976FCB1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CE
Deuteranopia (green-blind)
#5F82C9
Tritanopia (blue-blind)
#8E7F93
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #976fcb;
/* rgb */ color: rgb(151, 111, 203);
/* oklch */ color: oklch(62.0% 0.140 302.6);
Tailwind
colors: {
  custom: {
    50: '#b899db',
    500: '#976fcb',
    950: '#000000',
  },
}
SCSS
$custom: #976fcb;
$custom-light: #b899db;
$custom-dark: #000000;
JSON
{
  "hex": "#976fcb",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 203
  },
  "hsl": {
    "h": 266.087,
    "s": 46.939,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62007,
    "c": 0.13971,
    "h": 302.6
  },
  "luminance": 0.2226
}

Semantic roles & 50–950 ramp

primary
#976FCB
secondary
#CDDCBA
accent
#BA2B7C
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #976FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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