#976DE8#976DE8

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

Color values

HEX#976DE8
RGBrgb(151, 109, 232)
HSLhsl(260, 73%, 67%)
HSVhsv(260, 53%, 91%)
CMYKcmyk(34.9%, 53%, 0%, 9%)
CIE-LABlab(55.42, 42.83, -56.65)
CIE-LCHlch(55.42, 71.02, 307.09°)
OKLaboklab(63.35% 0.0807 -0.1603)
OKLCHoklch(63.35% 0.179 296.7)
XYZxyz(32.7930, 23.3423, 79.1061)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976DE8 #BEE86D
analogous
#6D81E8 #976DE8 #D56DE8
triadic
#976DE8 #E8976D #6DE897
tetradic
#976DE8 #E86D81 #BEE86D #6DE8D5
square
#976DE8 #E86D81 #BEE86D #6DE8D5
split-complementary
#976DE8 #E8D56D #81E86D
monochromatic
#541EBD #7138E0 #976DE8 #BDA2F0 #E2D7F9

Accessibility & contrast

On white

3.70
#976DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#976DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976DE8
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976DE8#FFFFFF#000000##000000
##976DE81.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A85EC
Deuteranopia (green-blind)
#4683E5
Tritanopia (blue-blind)
#8486A0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #976de8;
/* rgb */ color: rgb(151, 109, 232);
/* oklch */ color: oklch(63.4% 0.179 296.7);
Tailwind
colors: {
  custom: {
    50: '#b998f0',
    500: '#976de8',
    950: '#000000',
  },
}
SCSS
$custom: #976de8;
$custom-light: #b998f0;
$custom-dark: #000000;
JSON
{
  "hex": "#976de8",
  "rgb": {
    "r": 151,
    "g": 109,
    "b": 232
  },
  "hsl": {
    "h": 260.488,
    "s": 72.781,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63352,
    "c": 0.17948,
    "h": 296.7
  },
  "luminance": 0.23343
}

Semantic roles & 50–950 ramp

primary
#976DE8
secondary
#DFECC5
accent
#D51192
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #976DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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