#976CCF#976CCF

#976CCF is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.7% C 0.150 H 302.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#976CCF
RGBrgb(151, 108, 207)
HSLhsl(266, 51%, 62%)
HSVhsv(266, 48%, 81%)
CMYKcmyk(27.1%, 47.8%, 0%, 18.8%)
CIE-LABlab(53.82, 37.12, -45.10)
CIE-LCHlch(53.82, 58.41, 309.46°)
OKLaboklab(61.72% 0.0799 -0.1265)
OKLCHoklch(61.72% 0.15 302.3)
XYZxyz(29.3850, 21.8094, 61.6809)
Luminance0.2181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CCF #A4CF6C
analogous
#6C73CF #976CCF #C96CCF
triadic
#976CCF #CF976C #6CCF97
tetradic
#976CCF #CF6C73 #A4CF6C #6CCFC9
square
#976CCF #CF6C73 #A4CF6C #6CCFC9
split-complementary
#976CCF #CFC96C #73CF6C
monochromatic
#5A2F91 #763EBF #976CCF #B89ADE #D8C8ED

Accessibility & contrast

On white

3.92
#976CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#976CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976CCF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976CCF#FFFFFF#000000##000000
##976CCF1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E80D3
Deuteranopia (green-blind)
#5980CD
Tritanopia (blue-blind)
#8D7E94
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #976ccf;
/* rgb */ color: rgb(151, 108, 207);
/* oklch */ color: oklch(61.7% 0.150 302.3);
Tailwind
colors: {
  custom: {
    50: '#b897de',
    500: '#976ccf',
    950: '#000000',
  },
}
SCSS
$custom: #976ccf;
$custom-light: #b897de;
$custom-dark: #000000;
JSON
{
  "hex": "#976ccf",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 207
  },
  "hsl": {
    "h": 266.061,
    "s": 50.769,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61716,
    "c": 0.14965,
    "h": 302.3
  },
  "luminance": 0.21809
}

Semantic roles & 50–950 ramp

primary
#976CCF
secondary
#CEDEB9
accent
#BE277D
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #976CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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