#976FCA#976FCA

#976FCA is a mid, vivid violet. Relative luminance 0.222; OKLCH L 62.0% C 0.138 H 302.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#976FCA
RGBrgb(151, 111, 202)
HSLhsl(266, 46%, 61%)
HSVhsv(266, 45%, 79%)
CMYKcmyk(25.2%, 45%, 0%, 20.8%)
CIE-LABlab(54.25, 34.20, -41.58)
CIE-LCHlch(54.25, 53.84, 309.44°)
OKLaboklab(61.95% 0.0751 -0.1163)
OKLCHoklch(61.95% 0.138 302.9)
XYZxyz(29.1053, 22.2125, 58.6198)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FCA #A2CA6F
analogous
#6F75CA #976FCA #C56FCA
triadic
#976FCA #CA976F #6FCA97
tetradic
#976FCA #CA6F75 #A2CA6F #6FCAC5
square
#976FCA #CA6F75 #A2CA6F #6FCAC5
split-complementary
#976FCA #CAC56F #75CA6F
monochromatic
#5A338B #7744B8 #976FCA #B79CDA #D8C8EB

Accessibility & contrast

On white

3.86
#976FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#976FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FCA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FCA#FFFFFF#000000##000000
##976FCA1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CD
Deuteranopia (green-blind)
#6082C8
Tritanopia (blue-blind)
#8E7F93
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #976fca;
/* rgb */ color: rgb(151, 111, 202);
/* oklch */ color: oklch(62.0% 0.138 302.9);
Tailwind
colors: {
  custom: {
    50: '#b799da',
    500: '#976fca',
    950: '#000000',
  },
}
SCSS
$custom: #976fca;
$custom-light: #b799da;
$custom-dark: #000000;
JSON
{
  "hex": "#976fca",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 202
  },
  "hsl": {
    "h": 266.374,
    "s": 46.193,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61953,
    "c": 0.13843,
    "h": 302.9
  },
  "luminance": 0.22212
}

Semantic roles & 50–950 ramp

primary
#976FCA
secondary
#CCDBB9
accent
#B92C7B
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #976FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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