#976BCB#976BCB

#976BCB is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.3% C 0.146 H 303.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#976BCB
RGBrgb(151, 107, 203)
HSLhsl(268, 48%, 61%)
HSVhsv(268, 47%, 80%)
CMYKcmyk(25.6%, 47.3%, 0%, 20.4%)
CIE-LABlab(53.39, 36.72, -43.51)
CIE-LCHlch(53.39, 56.93, 310.16°)
OKLaboklab(61.33% 0.0808 -0.1219)
OKLCHoklch(61.33% 0.146 303.5)
XYZxyz(28.7973, 21.4066, 59.1031)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BCB #9FCB6B
analogous
#6B6FCB #976BCB #C76BCB
triadic
#976BCB #CB976B #6BCB97
tetradic
#976BCB #CB6B6F #9FCB6B #6BCBC7
square
#976BCB #CB6B6F #9FCB6B #6BCBC7
split-complementary
#976BCB #CBC76B #6FCB6B
monochromatic
#5A318B #7741B8 #976BCB #B798DB #D7C6EB

Accessibility & contrast

On white

3.98
#976BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#976BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BCB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BCB#FFFFFF#000000##000000
##976BCB1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#507ECE
Deuteranopia (green-blind)
#5B7FC9
Tritanopia (blue-blind)
#8E7C91
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #976bcb;
/* rgb */ color: rgb(151, 107, 203);
/* oklch */ color: oklch(61.3% 0.146 303.5);
Tailwind
colors: {
  custom: {
    50: '#b896db',
    500: '#976bcb',
    950: '#000000',
  },
}
SCSS
$custom: #976bcb;
$custom-light: #b896db;
$custom-dark: #000000;
JSON
{
  "hex": "#976bcb",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 203
  },
  "hsl": {
    "h": 267.5,
    "s": 48,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61326,
    "c": 0.14623,
    "h": 303.5
  },
  "luminance": 0.21406
}

Semantic roles & 50–950 ramp

primary
#976BCB
secondary
#CADBB7
accent
#BB2A79
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #976BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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