#976DF8#976DF8

#976DF8 is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.4% C 0.199 H 294.0°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#976DF8
RGBrgb(151, 109, 248)
HSLhsl(258, 91%, 70%)
HSVhsv(258, 56%, 97%)
CMYKcmyk(39.1%, 56%, 0%, 2.7%)
CIE-LABlab(56.38, 46.98, -64.03)
CIE-LCHlch(56.38, 79.41, 306.27°)
OKLaboklab(64.37% 0.0811 -0.182)
OKLCHoklch(64.37% 0.199 294)
XYZxyz(35.1699, 24.2931, 91.6248)
Luminance0.2429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976DF8 #CEF86D
analogous
#6D89F8 #976DF8 #DC6DF8
triadic
#976DF8 #F8976D #6DF897
tetradic
#976DF8 #F86D89 #CEF86D #6DF8DC
square
#976DF8 #F86D89 #CEF86D #6DF8DC
split-complementary
#976DF8 #F8DC6D #89F86D
monochromatic
#4B0BE0 #6D33F5 #976DF8 #C1A7FB #EAE2FE

Accessibility & contrast

On white

3.58
#976DF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#976DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976DF8
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976DF8#FFFFFF#000000##000000
##976DF81.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2289FD
Deuteranopia (green-blind)
#3185F5
Tritanopia (blue-blind)
#7E8BA8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #976df8;
/* rgb */ color: rgb(151, 109, 248);
/* oklch */ color: oklch(64.4% 0.199 294.0);
Tailwind
colors: {
  custom: {
    50: '#bb98fb',
    500: '#976df8',
    950: '#000000',
  },
}
SCSS
$custom: #976df8;
$custom-light: #bb98fb;
$custom-dark: #000000;
JSON
{
  "hex": "#976df8",
  "rgb": {
    "r": 151,
    "g": 109,
    "b": 248
  },
  "hsl": {
    "h": 258.129,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.64366,
    "c": 0.19923,
    "h": 294
  },
  "luminance": 0.24294
}

Semantic roles & 50–950 ramp

primary
#976DF8
secondary
#E8F4CD
accent
#E600A0
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #976DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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