#976CCB#976CCB

#976CCB is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.5% C 0.145 H 303.3°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#976CCB
RGBrgb(151, 108, 203)
HSLhsl(267, 48%, 61%)
HSVhsv(267, 47%, 80%)
CMYKcmyk(25.6%, 46.8%, 0%, 20.4%)
CIE-LABlab(53.62, 36.15, -43.15)
CIE-LCHlch(53.62, 56.29, 309.96°)
OKLaboklab(61.5% 0.0794 -0.1208)
OKLCHoklch(61.5% 0.145 303.3)
XYZxyz(28.9022, 21.6163, 59.1381)
Luminance0.2162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CCB #A0CB6C
analogous
#6C70CB #976CCB #C66CCB
triadic
#976CCB #CB976C #6CCB97
tetradic
#976CCB #CB6C70 #A0CB6C #6CCBC6
square
#976CCB #CB6C70 #A0CB6C #6CCBC6
split-complementary
#976CCB #CBC66C #70CB6C
monochromatic
#5A318B #7741B9 #976CCB #B799DB #D7C6EB

Accessibility & contrast

On white

3.94
#976CCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#976CCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976CCB
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976CCB#FFFFFF#000000##000000
##976CCB1.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#517FCE
Deuteranopia (green-blind)
#5C80C9
Tritanopia (blue-blind)
#8E7D92
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #976ccb;
/* rgb */ color: rgb(151, 108, 203);
/* oklch */ color: oklch(61.5% 0.145 303.3);
Tailwind
colors: {
  custom: {
    50: '#b897db',
    500: '#976ccb',
    950: '#000000',
  },
}
SCSS
$custom: #976ccb;
$custom-light: #b897db;
$custom-dark: #000000;
JSON
{
  "hex": "#976ccb",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 203
  },
  "hsl": {
    "h": 267.158,
    "s": 47.739,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61495,
    "c": 0.14461,
    "h": 303.3
  },
  "luminance": 0.21616
}

Semantic roles & 50–950 ramp

primary
#976CCB
secondary
#CBDBB7
accent
#BB2A7A
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #976CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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