#976EC1#976EC1

#976EC1 is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.3% C 0.129 H 305.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#976EC1
RGBrgb(151, 110, 193)
HSLhsl(270, 40%, 59%)
HSVhsv(270, 43%, 76%)
CMYKcmyk(21.8%, 43%, 0%, 24.3%)
CIE-LABlab(53.58, 32.63, -37.49)
CIE-LCHlch(53.58, 49.70, 311.03°)
OKLaboklab(61.31% 0.0751 -0.1044)
OKLCHoklch(61.31% 0.129 305.7)
XYZxyz(27.9621, 21.5816, 53.1343)
Luminance0.2158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EC1 #98C16E
analogous
#6E6EC1 #976EC1 #C16EC1
triadic
#976EC1 #C1976E #6EC197
tetradic
#976EC1 #C16E6E #98C16E #6EC1C1
square
#976EC1 #C16E6E #98C16E #6EC1C1
split-complementary
#976EC1 #C1C16E #6EC16E
monochromatic
#5A367F #7848A9 #976EC1 #B699D3 #D4C4E6

Accessibility & contrast

On white

3.95
#976EC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#976EC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EC1
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EC1#FFFFFF#000000##000000
##976EC11.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7FC4
Deuteranopia (green-blind)
#6480BF
Tritanopia (blue-blind)
#917B8E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #976ec1;
/* rgb */ color: rgb(151, 110, 193);
/* oklch */ color: oklch(61.3% 0.129 305.7);
Tailwind
colors: {
  custom: {
    50: '#b798d4',
    500: '#976ec1',
    950: '#000000',
  },
}
SCSS
$custom: #976ec1;
$custom-light: #b798d4;
$custom-dark: #000000;
JSON
{
  "hex": "#976ec1",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 193
  },
  "hsl": {
    "h": 269.639,
    "s": 40.097,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61305,
    "c": 0.12861,
    "h": 305.7
  },
  "luminance": 0.21581
}

Semantic roles & 50–950 ramp

primary
#976EC1
secondary
#C6D6B5
accent
#D05895
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #976EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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