#976ACF#976ACF

#976ACF is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.4% C 0.153 H 302.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#976ACF
RGBrgb(151, 106, 207)
HSLhsl(267, 51%, 61%)
HSVhsv(267, 49%, 81%)
CMYKcmyk(27.1%, 48.8%, 0%, 18.8%)
CIE-LABlab(53.38, 38.25, -45.81)
CIE-LCHlch(53.38, 59.68, 309.86°)
OKLaboklab(61.38% 0.0826 -0.1286)
OKLCHoklch(61.38% 0.153 302.7)
XYZxyz(29.1765, 21.3924, 61.6114)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976ACF #A2CF6A
analogous
#6A70CF #976ACF #CA6ACF
triadic
#976ACF #CF976A #6ACF97
tetradic
#976ACF #CF6A70 #A2CF6A #6ACFCA
square
#976ACF #CF6A70 #A2CF6A #6ACFCA
split-complementary
#976ACF #CFCA6A #70CF6A
monochromatic
#5A2E90 #773DBE #976ACF #B798DE #D8C7ED

Accessibility & contrast

On white

3.98
#976ACF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#976ACF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976ACF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976ACF#FFFFFF#000000##000000
##976ACF1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7FD3
Deuteranopia (green-blind)
#577FCC
Tritanopia (blue-blind)
#8D7C93
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #976acf;
/* rgb */ color: rgb(151, 106, 207);
/* oklch */ color: oklch(61.4% 0.153 302.7);
Tailwind
colors: {
  custom: {
    50: '#b896de',
    500: '#976acf',
    950: '#000000',
  },
}
SCSS
$custom: #976acf;
$custom-light: #b896de;
$custom-dark: #000000;
JSON
{
  "hex": "#976acf",
  "rgb": {
    "r": 151,
    "g": 106,
    "b": 207
  },
  "hsl": {
    "h": 266.733,
    "s": 51.269,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61382,
    "c": 0.15286,
    "h": 302.7
  },
  "luminance": 0.21392
}

Semantic roles & 50–950 ramp

primary
#976ACF
secondary
#CCDDB8
accent
#BF277B
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #976ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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