#976FC7#976FC7

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

Color values

HEX#976FC7
RGBrgb(151, 111, 199)
HSLhsl(267, 44%, 61%)
HSVhsv(267, 44%, 78%)
CMYKcmyk(24.1%, 44.2%, 0%, 22%)
CIE-LABlab(54.10, 33.48, -40.10)
CIE-LCHlch(54.10, 52.24, 309.86°)
OKLaboklab(61.79% 0.0746 -0.112)
OKLCHoklch(61.79% 0.135 303.7)
XYZxyz(28.7535, 22.0718, 56.7672)
Luminance0.2207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FC7 #9FC76F
analogous
#6F73C7 #976FC7 #C36FC7
triadic
#976FC7 #C7976F #6FC797
tetradic
#976FC7 #C76F73 #9FC76F #6FC7C3
square
#976FC7 #C76F73 #9FC76F #6FC7C3
split-complementary
#976FC7 #C7C36F #73C76F
monochromatic
#5A3587 #7746B3 #976FC7 #B79BD8 #D7C7E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##976FC7#FFFFFF#000000##000000
##976FC71.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)
#5880CA
Deuteranopia (green-blind)
#6181C5
Tritanopia (blue-blind)
#8F7E91
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #976fc7;
/* rgb */ color: rgb(151, 111, 199);
/* oklch */ color: oklch(61.8% 0.135 303.7);
Tailwind
colors: {
  custom: {
    50: '#b799d8',
    500: '#976fc7',
    950: '#000000',
  },
}
SCSS
$custom: #976fc7;
$custom-light: #b799d8;
$custom-dark: #000000;
JSON
{
  "hex": "#976fc7",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 199
  },
  "hsl": {
    "h": 267.273,
    "s": 44,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61793,
    "c": 0.13459,
    "h": 303.7
  },
  "luminance": 0.22072
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #976FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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