#976ECB#976ECB

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

Color values

HEX#976ECB
RGBrgb(151, 110, 203)
HSLhsl(266, 47%, 61%)
HSVhsv(266, 46%, 80%)
CMYKcmyk(25.6%, 45.8%, 0%, 20.4%)
CIE-LABlab(54.07, 35.02, -42.43)
CIE-LCHlch(54.07, 55.01, 309.53°)
OKLaboklab(61.83% 0.0766 -0.1188)
OKLCHoklch(61.83% 0.141 302.8)
XYZxyz(29.1156, 22.0430, 59.2092)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976ECB #A2CB6E
analogous
#6E74CB #976ECB #C66ECB
triadic
#976ECB #CB976E #6ECB97
tetradic
#976ECB #CB6E74 #A2CB6E #6ECBC6
square
#976ECB #CB6E74 #A2CB6E #6ECBC6
split-complementary
#976ECB #CBC66E #74CB6E
monochromatic
#5A328C #7742B9 #976ECB #B79BDB #D8C8EB

Accessibility & contrast

On white

3.88
#976ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#976ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976ECB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976ECB#FFFFFF#000000##000000
##976ECB1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CE
Deuteranopia (green-blind)
#5E81C9
Tritanopia (blue-blind)
#8E7E93
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #976ecb;
/* rgb */ color: rgb(151, 110, 203);
/* oklch */ color: oklch(61.8% 0.141 302.8);
Tailwind
colors: {
  custom: {
    50: '#b898db',
    500: '#976ecb',
    950: '#000000',
  },
}
SCSS
$custom: #976ecb;
$custom-light: #b898db;
$custom-dark: #000000;
JSON
{
  "hex": "#976ecb",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 203
  },
  "hsl": {
    "h": 266.452,
    "s": 47.208,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61835,
    "c": 0.14134,
    "h": 302.8
  },
  "luminance": 0.22043
}

Semantic roles & 50–950 ramp

primary
#976ECB
secondary
#CCDCB9
accent
#BA2B7B
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #976ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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