#976EBE#976EBE

#976EBE is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.2% C 0.125 H 306.7°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#976EBE
RGBrgb(151, 110, 190)
HSLhsl(271, 38%, 59%)
HSVhsv(271, 42%, 75%)
CMYKcmyk(20.5%, 42.1%, 0%, 25.5%)
CIE-LABlab(53.44, 31.92, -36.00)
CIE-LCHlch(53.44, 48.11, 311.57°)
OKLaboklab(61.15% 0.0745 -0.1001)
OKLCHoklch(61.15% 0.125 306.7)
XYZxyz(27.6308, 21.4491, 51.3897)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EBE #95BE6E
analogous
#6F6EBE #976EBE #BE6EBD
triadic
#976EBE #BE976E #6EBE97
tetradic
#976EBE #BE6F6E #95BE6E #6EBDBE
square
#976EBE #BE6F6E #95BE6E #6EBDBE
split-complementary
#976EBE #BDBE6E #6EBE6F
monochromatic
#5A377B #794AA5 #976EBE #B598D1 #D4C3E4

Accessibility & contrast

On white

3.97
#976EBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#976EBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EBE
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EBE#FFFFFF#000000##000000
##976EBE1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7EC1
Deuteranopia (green-blind)
#6580BC
Tritanopia (blue-blind)
#917B8D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #976ebe;
/* rgb */ color: rgb(151, 110, 190);
/* oklch */ color: oklch(61.2% 0.125 306.7);
Tailwind
colors: {
  custom: {
    50: '#b798d2',
    500: '#976ebe',
    950: '#000000',
  },
}
SCSS
$custom: #976ebe;
$custom-light: #b798d2;
$custom-dark: #000000;
JSON
{
  "hex": "#976ebe",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 190
  },
  "hsl": {
    "h": 270.75,
    "s": 38.095,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61151,
    "c": 0.1248,
    "h": 306.7
  },
  "luminance": 0.21449
}

Semantic roles & 50–950 ramp

primary
#976EBE
secondary
#C4D4B4
accent
#CE5A92
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #976EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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