#976EC0#976EC0

#976EC0 is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.3% C 0.127 H 306.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#976EC0
RGBrgb(151, 110, 192)
HSLhsl(270, 39%, 59%)
HSVhsv(270, 43%, 75%)
CMYKcmyk(21.4%, 42.7%, 0%, 24.7%)
CIE-LABlab(53.53, 32.39, -37.00)
CIE-LCHlch(53.53, 49.17, 311.20°)
OKLaboklab(61.25% 0.0749 -0.103)
OKLCHoklch(61.25% 0.127 306)
XYZxyz(27.8509, 21.5371, 52.5488)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EC0 #97C06E
analogous
#6E6EC0 #976EC0 #C06EC0
triadic
#976EC0 #C0976E #6EC097
tetradic
#976EC0 #C06E6E #97C06E #6EC0C0
square
#976EC0 #C06E6E #97C06E #6EC0C0
split-complementary
#976EC0 #C0C06E #6EC06E
monochromatic
#5A367D #7849A8 #976EC0 #B699D3 #D4C3E5

Accessibility & contrast

On white

3.96
#976EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#976EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EC0
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EC0#FFFFFF#000000##000000
##976EC01.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #976ec0;
/* rgb */ color: rgb(151, 110, 192);
/* oklch */ color: oklch(61.3% 0.127 306.0);
Tailwind
colors: {
  custom: {
    50: '#b798d3',
    500: '#976ec0',
    950: '#000000',
  },
}
SCSS
$custom: #976ec0;
$custom-light: #b798d3;
$custom-dark: #000000;
JSON
{
  "hex": "#976ec0",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 192
  },
  "hsl": {
    "h": 270,
    "s": 39.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61253,
    "c": 0.12734,
    "h": 306
  },
  "luminance": 0.21537
}

Semantic roles & 50–950 ramp

primary
#976EC0
secondary
#C5D5B5
accent
#CF5894
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #976EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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