#976FF8#976FF8

#976FF8 is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.7% C 0.196 H 293.6°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#976FF8
RGBrgb(151, 111, 248)
HSLhsl(258, 91%, 70%)
HSVhsv(258, 55%, 97%)
CMYKcmyk(39.1%, 55.2%, 0%, 2.7%)
CIE-LABlab(56.81, 45.87, -63.34)
CIE-LCHlch(56.81, 78.21, 305.91°)
OKLaboklab(64.68% 0.0787 -0.18)
OKLCHoklch(64.68% 0.196 293.6)
XYZxyz(35.3857, 24.7246, 91.6967)
Luminance0.2472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FF8 #D0F86F
analogous
#6F8CF8 #976FF8 #DB6FF8
triadic
#976FF8 #F8976F #6FF897
tetradic
#976FF8 #F86F8C #D0F86F #6FF8DB
square
#976FF8 #F86F8C #D0F86F #6FF8DB
split-complementary
#976FF8 #F8DB6F #8CF86F
monochromatic
#4A0BE2 #6D35F5 #976FF8 #C1A9FB #EAE2FE

Accessibility & contrast

On white

3.53
#976FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#976FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FF8
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FF8#FFFFFF#000000##000000
##976FF81.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#298AFD
Deuteranopia (green-blind)
#3686F5
Tritanopia (blue-blind)
#7E8CA9
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #976ff8;
/* rgb */ color: rgb(151, 111, 248);
/* oklch */ color: oklch(64.7% 0.196 293.6);
Tailwind
colors: {
  custom: {
    50: '#bb99fb',
    500: '#976ff8',
    950: '#000000',
  },
}
SCSS
$custom: #976ff8;
$custom-light: #bb99fb;
$custom-dark: #000000;
JSON
{
  "hex": "#976ff8",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 248
  },
  "hsl": {
    "h": 257.518,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6468,
    "c": 0.19644,
    "h": 293.6
  },
  "luminance": 0.24725
}

Semantic roles & 50–950 ramp

primary
#976FF8
secondary
#E9F4CF
accent
#E600A2
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #976FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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