#976DBC#976DBC

#976DBC is a mid, vivid violet. Relative luminance 0.211; OKLCH L 60.9% C 0.124 H 307.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#976DBC
RGBrgb(151, 109, 188)
HSLhsl(272, 37%, 58%)
HSVhsv(272, 42%, 74%)
CMYKcmyk(19.7%, 42%, 0%, 26.3%)
CIE-LABlab(53.11, 32.03, -35.36)
CIE-LCHlch(53.11, 47.71, 312.17°)
OKLaboklab(60.87% 0.0756 -0.0983)
OKLCHoklch(60.87% 0.124 307.6)
XYZxyz(27.3065, 21.1477, 50.2106)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976DBC #92BC6D
analogous
#6F6DBC #976DBC #BC6DB9
triadic
#976DBC #BC976D #6DBC97
tetradic
#976DBC #BC6F6D #92BC6D #6DB9BC
square
#976DBC #BC6F6D #92BC6D #6DB9BC
split-complementary
#976DBC #B9BC6D #6DBC6F
monochromatic
#593778 #794AA2 #976DBC #B597CF #D3C1E3

Accessibility & contrast

On white

4.02
#976DBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#976DBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976DBC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976DBC#FFFFFF#000000##000000
##976DBC1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7DBF
Deuteranopia (green-blind)
#657FBA
Tritanopia (blue-blind)
#92798B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #976dbc;
/* rgb */ color: rgb(151, 109, 188);
/* oklch */ color: oklch(60.9% 0.124 307.6);
Tailwind
colors: {
  custom: {
    50: '#b797d0',
    500: '#976dbc',
    950: '#000000',
  },
}
SCSS
$custom: #976dbc;
$custom-light: #b797d0;
$custom-dark: #000000;
JSON
{
  "hex": "#976dbc",
  "rgb": {
    "r": 151,
    "g": 109,
    "b": 188
  },
  "hsl": {
    "h": 271.899,
    "s": 37.089,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60874,
    "c": 0.12399,
    "h": 307.6
  },
  "luminance": 0.21147
}

Semantic roles & 50–950 ramp

primary
#976DBC
secondary
#C1D2B3
accent
#CD5B90
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #976DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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