#976EBA#976EBA

#976EBA is a mid, moderate violet. Relative luminance 0.213; OKLCH L 60.9% C 0.120 H 308.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#976EBA
RGBrgb(151, 110, 186)
HSLhsl(272, 36%, 58%)
HSVhsv(272, 41%, 73%)
CMYKcmyk(18.8%, 40.9%, 0%, 27.1%)
CIE-LABlab(53.25, 31.00, -33.99)
CIE-LCHlch(53.25, 46.00, 312.36°)
OKLaboklab(60.95% 0.0738 -0.0943)
OKLCHoklch(60.95% 0.12 308)
XYZxyz(27.1997, 21.2766, 49.1188)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EBA #91BA6E
analogous
#716EBA #976EBA #BA6EB7
triadic
#976EBA #BA976E #6EBA97
tetradic
#976EBA #BA716E #91BA6E #6EB7BA
square
#976EBA #BA716E #91BA6E #6EB7BA
split-complementary
#976EBA #B7BA6E #6EBA71
monochromatic
#593876 #794C9F #976EBA #B597CE #D2C1E1

Accessibility & contrast

On white

4.00
#976EBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#976EBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EBA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EBA#FFFFFF#000000##000000
##976EBA1.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7DBD
Deuteranopia (green-blind)
#6780B8
Tritanopia (blue-blind)
#927A8B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #976eba;
/* rgb */ color: rgb(151, 110, 186);
/* oklch */ color: oklch(60.9% 0.120 308.0);
Tailwind
colors: {
  custom: {
    50: '#b798cf',
    500: '#976eba',
    950: '#000000',
  },
}
SCSS
$custom: #976eba;
$custom-light: #b798cf;
$custom-dark: #000000;
JSON
{
  "hex": "#976eba",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 186
  },
  "hsl": {
    "h": 272.368,
    "s": 35.514,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60949,
    "c": 0.11973,
    "h": 308
  },
  "luminance": 0.21276
}

Semantic roles & 50–950 ramp

primary
#976EBA
secondary
#C1D1B3
accent
#CC5C90
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #976EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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