#976BEA#976BEA

#976BEA is a light, vivid violet. Relative luminance 0.230; OKLCH L 63.2% C 0.185 H 296.7°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#976BEA
RGBrgb(151, 107, 234)
HSLhsl(261, 75%, 67%)
HSVhsv(261, 54%, 92%)
CMYKcmyk(35.5%, 54.3%, 0%, 8.2%)
CIE-LABlab(55.11, 44.45, -58.28)
CIE-LCHlch(55.11, 73.29, 307.34°)
OKLaboklab(63.16% 0.0832 -0.1651)
OKLCHoklch(63.16% 0.185 296.7)
XYZxyz(32.8677, 23.0347, 80.5404)
Luminance0.2303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BEA #BEEA6B
analogous
#6B7FEA #976BEA #D66BEA
triadic
#976BEA #EA976B #6BEA97
tetradic
#976BEA #EA6B7F #BEEA6B #6BEAD6
square
#976BEA #EA6B7F #BEEA6B #6BEAD6
split-complementary
#976BEA #EAD66B #7FEA6B
monochromatic
#541BBF #7135E2 #976BEA #BDA1F2 #E2D6F9

Accessibility & contrast

On white

3.75
#976BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#976BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BEA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BEA#FFFFFF#000000##000000
##976BEA1.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3385EE
Deuteranopia (green-blind)
#4182E7
Tritanopia (blue-blind)
#8485A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #976bea;
/* rgb */ color: rgb(151, 107, 234);
/* oklch */ color: oklch(63.2% 0.185 296.7);
Tailwind
colors: {
  custom: {
    50: '#ba97f1',
    500: '#976bea',
    950: '#000000',
  },
}
SCSS
$custom: #976bea;
$custom-light: #ba97f1;
$custom-dark: #000000;
JSON
{
  "hex": "#976bea",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 234
  },
  "hsl": {
    "h": 260.787,
    "s": 75.148,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63156,
    "c": 0.18488,
    "h": 296.7
  },
  "luminance": 0.23035
}

Semantic roles & 50–950 ramp

primary
#976BEA
secondary
#DFEDC4
accent
#D70E92
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #976BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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