#976EC2#976EC2

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

Color values

HEX#976EC2
RGBrgb(151, 110, 194)
HSLhsl(269, 41%, 60%)
HSVhsv(269, 43%, 76%)
CMYKcmyk(22.2%, 43.3%, 0%, 23.9%)
CIE-LABlab(53.63, 32.86, -37.99)
CIE-LCHlch(53.63, 50.23, 310.86°)
OKLaboklab(61.36% 0.0752 -0.1059)
OKLCHoklch(61.36% 0.13 305.4)
XYZxyz(28.0740, 21.6264, 53.7238)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EC2 #99C26E
analogous
#6E6FC2 #976EC2 #C16EC2
triadic
#976EC2 #C2976E #6EC297
tetradic
#976EC2 #C26E6F #99C26E #6EC2C1
square
#976EC2 #C26E6F #99C26E #6EC2C1
split-complementary
#976EC2 #C2C16E #6FC26E
monochromatic
#5A3680 #7848AB #976EC2 #B699D4 #D5C4E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##976EC2#FFFFFF#000000##000000
##976EC21.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)
#597FC5
Deuteranopia (green-blind)
#6380C0
Tritanopia (blue-blind)
#907C8F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #976ec2;
/* rgb */ color: rgb(151, 110, 194);
/* oklch */ color: oklch(61.4% 0.130 305.4);
Tailwind
colors: {
  custom: {
    50: '#b798d5',
    500: '#976ec2',
    950: '#000000',
  },
}
SCSS
$custom: #976ec2;
$custom-light: #b798d5;
$custom-dark: #000000;
JSON
{
  "hex": "#976ec2",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 194
  },
  "hsl": {
    "h": 269.286,
    "s": 40.777,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61357,
    "c": 0.12988,
    "h": 305.4
  },
  "luminance": 0.21626
}

Semantic roles & 50–950 ramp

primary
#976EC2
secondary
#C6D6B6
accent
#D15795
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #976EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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