#976DCB#976DCB

#976DCB is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.7% C 0.143 H 303.1°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#976DCB
RGBrgb(151, 109, 203)
HSLhsl(267, 47%, 61%)
HSVhsv(267, 46%, 80%)
CMYKcmyk(25.6%, 46.3%, 0%, 20.4%)
CIE-LABlab(53.84, 35.59, -42.79)
CIE-LCHlch(53.84, 55.65, 309.75°)
OKLaboklab(61.67% 0.078 -0.1198)
OKLCHoklch(61.67% 0.143 303.1)
XYZxyz(29.0083, 21.8284, 59.1734)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976DCB #A1CB6D
analogous
#6D72CB #976DCB #C66DCB
triadic
#976DCB #CB976D #6DCB97
tetradic
#976DCB #CB6D72 #A1CB6D #6DCBC6
square
#976DCB #CB6D72 #A1CB6D #6DCBC6
split-complementary
#976DCB #CBC66D #72CB6D
monochromatic
#5A328C #7742B9 #976DCB #B79ADB #D7C7EB

Accessibility & contrast

On white

3.91
#976DCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#976DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976DCB
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976DCB#FFFFFF#000000##000000
##976DCB1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5380CE
Deuteranopia (green-blind)
#5D81C9
Tritanopia (blue-blind)
#8E7D92
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #976dcb;
/* rgb */ color: rgb(151, 109, 203);
/* oklch */ color: oklch(61.7% 0.143 303.1);
Tailwind
colors: {
  custom: {
    50: '#b898db',
    500: '#976dcb',
    950: '#000000',
  },
}
SCSS
$custom: #976dcb;
$custom-light: #b898db;
$custom-dark: #000000;
JSON
{
  "hex": "#976dcb",
  "rgb": {
    "r": 151,
    "g": 109,
    "b": 203
  },
  "hsl": {
    "h": 266.809,
    "s": 47.475,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61665,
    "c": 0.14298,
    "h": 303.1
  },
  "luminance": 0.21828
}

Semantic roles & 50–950 ramp

primary
#976DCB
secondary
#CCDCB8
accent
#BB2B7A
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #976DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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