#976ACB#976ACB

#976ACB is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.2% C 0.148 H 303.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#976ACB
RGBrgb(151, 106, 203)
HSLhsl(268, 48%, 61%)
HSVhsv(268, 48%, 80%)
CMYKcmyk(25.6%, 47.8%, 0%, 20.4%)
CIE-LABlab(53.17, 37.28, -43.86)
CIE-LCHlch(53.17, 57.57, 310.37°)
OKLaboklab(61.16% 0.0822 -0.1229)
OKLCHoklch(61.16% 0.148 303.8)
XYZxyz(28.6937, 21.1992, 59.0686)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976ACB #9ECB6A
analogous
#6A6DCB #976ACB #C76ACB
triadic
#976ACB #CB976A #6ACB97
tetradic
#976ACB #CB6A6D #9ECB6A #6ACBC7
square
#976ACB #CB6A6D #9ECB6A #6ACBC7
split-complementary
#976ACB #CBC76A #6DCB6A
monochromatic
#5A308A #7840B8 #976ACB #B797DB #D6C5EB

Accessibility & contrast

On white

4.01
#976ACB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#976ACB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976ACB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976ACB#FFFFFF#000000##000000
##976ACB1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7ECE
Deuteranopia (green-blind)
#5A7FC9
Tritanopia (blue-blind)
#8E7B91
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #976acb;
/* rgb */ color: rgb(151, 106, 203);
/* oklch */ color: oklch(61.2% 0.148 303.8);
Tailwind
colors: {
  custom: {
    50: '#b895db',
    500: '#976acb',
    950: '#000000',
  },
}
SCSS
$custom: #976acb;
$custom-light: #b895db;
$custom-dark: #000000;
JSON
{
  "hex": "#976acb",
  "rgb": {
    "r": 151,
    "g": 106,
    "b": 203
  },
  "hsl": {
    "h": 267.835,
    "s": 48.259,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61158,
    "c": 0.14786,
    "h": 303.8
  },
  "luminance": 0.21199
}

Semantic roles & 50–950 ramp

primary
#976ACB
secondary
#CADBB6
accent
#BC2A78
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #976ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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