#976CB8#976CB8

#976CB8 is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.5% C 0.121 H 309.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#976CB8
RGBrgb(151, 108, 184)
HSLhsl(274, 35%, 57%)
HSVhsv(274, 41%, 72%)
CMYKcmyk(17.9%, 41.3%, 0%, 27.8%)
CIE-LABlab(52.69, 31.68, -33.71)
CIE-LCHlch(52.69, 46.26, 313.22°)
OKLaboklab(60.5% 0.0763 -0.0935)
OKLCHoklch(60.5% 0.121 309.2)
XYZxyz(26.7752, 20.7655, 47.9357)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CB8 #8DB86C
analogous
#716CB8 #976CB8 #B86CB3
triadic
#976CB8 #B8976C #6CB897
tetradic
#976CB8 #B8716C #8DB86C #6CB3B8
square
#976CB8 #B8716C #8DB86C #6CB3B8
split-complementary
#976CB8 #B3B86C #6CB871
monochromatic
#593772 #794B9C #976CB8 #B495CC #D1BFE0

Accessibility & contrast

On white

4.08
#976CB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#976CB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976CB8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976CB8#FFFFFF#000000##000000
##976CB81.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7CBB
Deuteranopia (green-blind)
#667EB6
Tritanopia (blue-blind)
#937789
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #976cb8;
/* rgb */ color: rgb(151, 108, 184);
/* oklch */ color: oklch(60.5% 0.121 309.2);
Tailwind
colors: {
  custom: {
    50: '#b797cd',
    500: '#976cb8',
    950: '#000000',
  },
}
SCSS
$custom: #976cb8;
$custom-light: #b797cd;
$custom-dark: #000000;
JSON
{
  "hex": "#976cb8",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 184
  },
  "hsl": {
    "h": 273.947,
    "s": 34.862,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60497,
    "c": 0.12069,
    "h": 309.2
  },
  "luminance": 0.20765
}

Semantic roles & 50–950 ramp

primary
#976CB8
secondary
#BECFB1
accent
#CB5D8D
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D13
muted
#807E82

Preview Lab

Preview with #976CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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