#976BCA#976BCA

#976BCA is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.3% C 0.145 H 303.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#976BCA
RGBrgb(151, 107, 202)
HSLhsl(268, 47%, 61%)
HSVhsv(268, 47%, 79%)
CMYKcmyk(25.2%, 47%, 0%, 20.8%)
CIE-LABlab(53.34, 36.48, -43.02)
CIE-LCHlch(53.34, 56.40, 310.30°)
OKLaboklab(61.27% 0.0807 -0.1205)
OKLCHoklch(61.27% 0.145 303.8)
XYZxyz(28.6786, 21.3590, 58.4775)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BCA #9ECA6B
analogous
#6B6ECA #976BCA #C66BCA
triadic
#976BCA #CA976B #6BCA97
tetradic
#976BCA #CA6B6E #9ECA6B #6BCAC6
square
#976BCA #CA6B6E #9ECA6B #6BCAC6
split-complementary
#976BCA #CAC66B #6ECA6B
monochromatic
#5A3189 #7841B6 #976BCA #B798DA #D6C5EA

Accessibility & contrast

On white

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

On black

5.27
#976BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BCA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BCA#FFFFFF#000000##000000
##976BCA1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#507ECD
Deuteranopia (green-blind)
#5B7FC8
Tritanopia (blue-blind)
#8E7B91
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #976bca;
/* rgb */ color: rgb(151, 107, 202);
/* oklch */ color: oklch(61.3% 0.145 303.8);
Tailwind
colors: {
  custom: {
    50: '#b896da',
    500: '#976bca',
    950: '#000000',
  },
}
SCSS
$custom: #976bca;
$custom-light: #b896da;
$custom-dark: #000000;
JSON
{
  "hex": "#976bca",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 202
  },
  "hsl": {
    "h": 267.789,
    "s": 47.264,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61271,
    "c": 0.14498,
    "h": 303.8
  },
  "luminance": 0.21359
}

Semantic roles & 50–950 ramp

primary
#976BCA
secondary
#CADAB6
accent
#BB2B78
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #976BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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