#976EC3#976EC3

#976EC3 is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.4% C 0.131 H 305.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#976EC3
RGBrgb(151, 110, 195)
HSLhsl(269, 41%, 60%)
HSVhsv(269, 44%, 76%)
CMYKcmyk(22.6%, 43.6%, 0%, 23.5%)
CIE-LABlab(53.68, 33.10, -38.49)
CIE-LCHlch(53.68, 50.76, 310.70°)
OKLaboklab(61.41% 0.0754 -0.1073)
OKLCHoklch(61.41% 0.131 305.1)
XYZxyz(28.1867, 21.6714, 54.3173)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EC3 #9AC36E
analogous
#6E70C3 #976EC3 #C16EC3
triadic
#976EC3 #C3976E #6EC397
tetradic
#976EC3 #C36E70 #9AC36E #6EC3C1
square
#976EC3 #C36E70 #9AC36E #6EC3C1
split-complementary
#976EC3 #C3C16E #70C36E
monochromatic
#5A3581 #7847AC #976EC3 #B699D5 #D5C5E7

Accessibility & contrast

On white

3.94
#976EC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#976EC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EC3
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EC3#FFFFFF#000000##000000
##976EC31.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#597FC6
Deuteranopia (green-blind)
#6380C1
Tritanopia (blue-blind)
#907C8F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #976ec3;
/* rgb */ color: rgb(151, 110, 195);
/* oklch */ color: oklch(61.4% 0.131 305.1);
Tailwind
colors: {
  custom: {
    50: '#b798d5',
    500: '#976ec3',
    950: '#000000',
  },
}
SCSS
$custom: #976ec3;
$custom-light: #b798d5;
$custom-dark: #000000;
JSON
{
  "hex": "#976ec3",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 195
  },
  "hsl": {
    "h": 268.941,
    "s": 41.463,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61409,
    "c": 0.13116,
    "h": 305.1
  },
  "luminance": 0.21671
}

Semantic roles & 50–950 ramp

primary
#976EC3
secondary
#C7D7B6
accent
#D15796
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #976EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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