#976BEE#976BEE

#976BEE is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.4% C 0.190 H 296.0°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#976BEE
RGBrgb(151, 107, 238)
HSLhsl(260, 79%, 68%)
HSVhsv(260, 55%, 93%)
CMYKcmyk(36.6%, 55%, 0%, 6.7%)
CIE-LABlab(55.35, 45.48, -60.13)
CIE-LCHlch(55.35, 75.39, 307.10°)
OKLaboklab(63.41% 0.0833 -0.1705)
OKLCHoklch(63.41% 0.19 296)
XYZxyz(33.4489, 23.2672, 83.6011)
Luminance0.2327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BEE #C2EE6B
analogous
#6B80EE #976BEE #D96BEE
triadic
#976BEE #EE976B #6BEE97
tetradic
#976BEE #EE6B80 #C2EE6B #6BEED9
square
#976BEE #EE6B80 #C2EE6B #6BEED9
split-complementary
#976BEE #EED96B #80EE6B
monochromatic
#5217C8 #7034E8 #976BEE #BEA2F4 #E4D9FB

Accessibility & contrast

On white

3.71
#976BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#976BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BEE
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BEE#FFFFFF#000000##000000
##976BEE1.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D85F2
Deuteranopia (green-blind)
#3C83EB
Tritanopia (blue-blind)
#8286A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #976bee;
/* rgb */ color: rgb(151, 107, 238);
/* oklch */ color: oklch(63.4% 0.190 296.0);
Tailwind
colors: {
  custom: {
    50: '#ba97f4',
    500: '#976bee',
    950: '#000000',
  },
}
SCSS
$custom: #976bee;
$custom-light: #ba97f4;
$custom-dark: #000000;
JSON
{
  "hex": "#976bee",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 238
  },
  "hsl": {
    "h": 260.153,
    "s": 79.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.63409,
    "c": 0.18979,
    "h": 296
  },
  "luminance": 0.23268
}

Semantic roles & 50–950 ramp

primary
#976BEE
secondary
#E1EFC6
accent
#DC0A95
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #976BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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