#976DBA#976DBA

#976DBA is a mid, vivid violet. Relative luminance 0.211; OKLCH L 60.8% C 0.121 H 308.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#976DBA
RGBrgb(151, 109, 186)
HSLhsl(273, 36%, 58%)
HSVhsv(273, 41%, 73%)
CMYKcmyk(18.8%, 41.4%, 0%, 27.1%)
CIE-LABlab(53.02, 31.57, -34.36)
CIE-LCHlch(53.02, 46.66, 312.58°)
OKLaboklab(60.77% 0.0752 -0.0954)
OKLCHoklch(60.77% 0.121 308.3)
XYZxyz(27.0924, 21.0621, 49.0830)
Luminance0.2106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976DBA #90BA6D
analogous
#706DBA #976DBA #BA6DB7
triadic
#976DBA #BA976D #6DBA97
tetradic
#976DBA #BA706D #90BA6D #6DB7BA
square
#976DBA #BA706D #90BA6D #6DB7BA
split-complementary
#976DBA #B7BA6D #6DBA70
monochromatic
#593775 #794B9F #976DBA #B597CE #D2C0E1

Accessibility & contrast

On white

4.03
#976DBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#976DBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976DBA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976DBA#FFFFFF#000000##000000
##976DBA1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBD
Deuteranopia (green-blind)
#667FB8
Tritanopia (blue-blind)
#92798B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #976dba;
/* rgb */ color: rgb(151, 109, 186);
/* oklch */ color: oklch(60.8% 0.121 308.3);
Tailwind
colors: {
  custom: {
    50: '#b797cf',
    500: '#976dba',
    950: '#000000',
  },
}
SCSS
$custom: #976dba;
$custom-light: #b797cf;
$custom-dark: #000000;
JSON
{
  "hex": "#976dba",
  "rgb": {
    "r": 151,
    "g": 109,
    "b": 186
  },
  "hsl": {
    "h": 272.727,
    "s": 35.814,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60773,
    "c": 0.12147,
    "h": 308.3
  },
  "luminance": 0.21062
}

Semantic roles & 50–950 ramp

primary
#976DBA
secondary
#C0D1B2
accent
#CC5C8F
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #976DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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