#976FC8#976FC8

#976FC8 is a mid, vivid violet. Relative luminance 0.221; OKLCH L 61.8% C 0.136 H 303.4°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#976FC8
RGBrgb(151, 111, 200)
HSLhsl(267, 45%, 61%)
HSVhsv(267, 45%, 78%)
CMYKcmyk(24.5%, 44.5%, 0%, 21.6%)
CIE-LABlab(54.15, 33.72, -40.59)
CIE-LCHlch(54.15, 52.77, 309.72°)
OKLaboklab(61.85% 0.0748 -0.1134)
OKLCHoklch(61.85% 0.136 303.4)
XYZxyz(28.8700, 22.1184, 57.3807)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FC8 #A0C86F
analogous
#6F73C8 #976FC8 #C36FC8
triadic
#976FC8 #C8976F #6FC897
tetradic
#976FC8 #C86F73 #A0C86F #6FC8C3
square
#976FC8 #C86F73 #A0C86F #6FC8C3
split-complementary
#976FC8 #C8C36F #73C86F
monochromatic
#5A3488 #7745B5 #976FC8 #B79BD9 #D7C8EA

Accessibility & contrast

On white

3.87
#976FC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#976FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FC8
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FC8#FFFFFF#000000##000000
##976FC81.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5781CB
Deuteranopia (green-blind)
#6181C6
Tritanopia (blue-blind)
#8F7E92
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #976fc8;
/* rgb */ color: rgb(151, 111, 200);
/* oklch */ color: oklch(61.8% 0.136 303.4);
Tailwind
colors: {
  custom: {
    50: '#b799d9',
    500: '#976fc8',
    950: '#000000',
  },
}
SCSS
$custom: #976fc8;
$custom-light: #b799d9;
$custom-dark: #000000;
JSON
{
  "hex": "#976fc8",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 200
  },
  "hsl": {
    "h": 266.966,
    "s": 44.724,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61846,
    "c": 0.13587,
    "h": 303.4
  },
  "luminance": 0.22118
}

Semantic roles & 50–950 ramp

primary
#976FC8
secondary
#CBDAB9
accent
#B82E7A
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #976FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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