#976EC8#976EC8

#976EC8 is a mid, vivid violet. Relative luminance 0.219; OKLCH L 61.7% C 0.138 H 303.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#976EC8
RGBrgb(151, 110, 200)
HSLhsl(267, 45%, 61%)
HSVhsv(267, 45%, 78%)
CMYKcmyk(24.5%, 45%, 0%, 21.6%)
CIE-LABlab(53.92, 34.29, -40.96)
CIE-LCHlch(53.92, 53.42, 309.94°)
OKLaboklab(61.67% 0.0762 -0.1145)
OKLCHoklch(61.67% 0.138 303.6)
XYZxyz(28.7615, 21.9014, 57.3445)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EC8 #9FC86E
analogous
#6E72C8 #976EC8 #C46EC8
triadic
#976EC8 #C8976E #6EC897
tetradic
#976EC8 #C86E72 #9FC86E #6EC8C4
square
#976EC8 #C86E72 #9FC86E #6EC8C4
split-complementary
#976EC8 #C8C46E #72C86E
monochromatic
#5A3488 #7744B4 #976EC8 #B79AD9 #D7C7EA

Accessibility & contrast

On white

3.90
#976EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#976EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EC8
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EC8#FFFFFF#000000##000000
##976EC81.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5680CB
Deuteranopia (green-blind)
#6081C6
Tritanopia (blue-blind)
#8F7D91
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #976ec8;
/* rgb */ color: rgb(151, 110, 200);
/* oklch */ color: oklch(61.7% 0.138 303.6);
Tailwind
colors: {
  custom: {
    50: '#b798d9',
    500: '#976ec8',
    950: '#000000',
  },
}
SCSS
$custom: #976ec8;
$custom-light: #b798d9;
$custom-dark: #000000;
JSON
{
  "hex": "#976ec8",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 200
  },
  "hsl": {
    "h": 267.333,
    "s": 45,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61674,
    "c": 0.13752,
    "h": 303.6
  },
  "luminance": 0.21901
}

Semantic roles & 50–950 ramp

primary
#976EC8
secondary
#CADAB8
accent
#B82D79
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #976EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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