#976ECA#976ECA

#976ECA is a mid, vivid violet. Relative luminance 0.220; OKLCH L 61.8% C 0.140 H 303.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#976ECA
RGBrgb(151, 110, 202)
HSLhsl(267, 46%, 61%)
HSVhsv(267, 46%, 79%)
CMYKcmyk(25.2%, 45.5%, 0%, 20.8%)
CIE-LABlab(54.02, 34.77, -41.94)
CIE-LCHlch(54.02, 54.48, 309.66°)
OKLaboklab(61.78% 0.0765 -0.1173)
OKLCHoklch(61.78% 0.14 303.1)
XYZxyz(28.9968, 21.9955, 58.5836)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976ECA #A1CA6E
analogous
#6E73CA #976ECA #C56ECA
triadic
#976ECA #CA976E #6ECA97
tetradic
#976ECA #CA6E73 #A1CA6E #6ECAC5
square
#976ECA #CA6E73 #A1CA6E #6ECAC5
split-complementary
#976ECA #CAC56E #73CA6E
monochromatic
#5A338B #7743B8 #976ECA #B79BDA #D7C8EB

Accessibility & contrast

On white

3.89
#976ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#976ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976ECA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976ECA#FFFFFF#000000##000000
##976ECA1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5580CD
Deuteranopia (green-blind)
#5F81C8
Tritanopia (blue-blind)
#8E7E92
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #976eca;
/* rgb */ color: rgb(151, 110, 202);
/* oklch */ color: oklch(61.8% 0.140 303.1);
Tailwind
colors: {
  custom: {
    50: '#b798da',
    500: '#976eca',
    950: '#000000',
  },
}
SCSS
$custom: #976eca;
$custom-light: #b798da;
$custom-dark: #000000;
JSON
{
  "hex": "#976eca",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 202
  },
  "hsl": {
    "h": 266.739,
    "s": 46.465,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61781,
    "c": 0.14007,
    "h": 303.1
  },
  "luminance": 0.21995
}

Semantic roles & 50–950 ramp

primary
#976ECA
secondary
#CCDBB9
accent
#BA2C7A
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #976ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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