#976EC6#976EC6

#976EC6 is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.6% C 0.135 H 304.2°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#976EC6
RGBrgb(151, 110, 198)
HSLhsl(268, 44%, 60%)
HSVhsv(268, 44%, 78%)
CMYKcmyk(23.7%, 44.4%, 0%, 22.4%)
CIE-LABlab(53.82, 33.81, -39.97)
CIE-LCHlch(53.82, 52.36, 310.23°)
OKLaboklab(61.57% 0.0759 -0.1116)
OKLCHoklch(61.57% 0.135 304.2)
XYZxyz(28.5293, 21.8085, 56.1216)
Luminance0.2181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EC6 #9DC66E
analogous
#6E71C6 #976EC6 #C36EC6
triadic
#976EC6 #C6976E #6EC697
tetradic
#976EC6 #C66E71 #9DC66E #6EC6C3
square
#976EC6 #C66E71 #9DC66E #6EC6C3
split-complementary
#976EC6 #C6C36E #71C66E
monochromatic
#5A3485 #7846B1 #976EC6 #B79AD7 #D6C6E9

Accessibility & contrast

On white

3.92
#976EC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#976EC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EC6
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EC6#FFFFFF#000000##000000
##976EC61.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5780C9
Deuteranopia (green-blind)
#6181C4
Tritanopia (blue-blind)
#8F7D90
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #976ec6;
/* rgb */ color: rgb(151, 110, 198);
/* oklch */ color: oklch(61.6% 0.135 304.2);
Tailwind
colors: {
  custom: {
    50: '#b798d7',
    500: '#976ec6',
    950: '#000000',
  },
}
SCSS
$custom: #976ec6;
$custom-light: #b798d7;
$custom-dark: #000000;
JSON
{
  "hex": "#976ec6",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 198
  },
  "hsl": {
    "h": 267.955,
    "s": 43.564,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61567,
    "c": 0.13498,
    "h": 304.2
  },
  "luminance": 0.21808
}

Semantic roles & 50–950 ramp

primary
#976EC6
secondary
#C9D9B7
accent
#B72F77
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #976EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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