#976AFB#976AFB

#976AFB is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.1% C 0.207 H 294.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#976AFB
RGBrgb(151, 106, 251)
HSLhsl(259, 95%, 70%)
HSVhsv(259, 58%, 98%)
CMYKcmyk(39.8%, 57.8%, 0%, 1.6%)
CIE-LABlab(55.94, 49.41, -66.40)
CIE-LCHlch(55.94, 82.76, 306.65°)
OKLaboklab(64.1% 0.0845 -0.189)
OKLCHoklch(64.1% 0.207 294.1)
XYZxyz(35.3245, 23.8516, 93.9907)
Luminance0.2385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976AFB #CEFB6A
analogous
#6A85FB #976AFB #E06AFB
triadic
#976AFB #FB976A #6AFB97
tetradic
#976AFB #FB6A85 #CEFB6A #6AFBE0
square
#976AFB #FB6A85 #CEFB6A #6AFBE0
split-complementary
#976AFB #FBE06A #85FB6A
monochromatic
#4B06E4 #6D2EF9 #976AFB #C1A6FD #EAE1FE

Accessibility & contrast

On white

3.64
#976AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#976AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976AFB
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976AFB#FFFFFF#000000##000000
##976AFB1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0488FF
Deuteranopia (green-blind)
#2484F8
Tritanopia (blue-blind)
#7D8AA9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #976afb;
/* rgb */ color: rgb(151, 106, 251);
/* oklch */ color: oklch(64.1% 0.207 294.1);
Tailwind
colors: {
  custom: {
    50: '#bb96fd',
    500: '#976afb',
    950: '#000000',
  },
}
SCSS
$custom: #976afb;
$custom-light: #bb96fd;
$custom-dark: #000000;
JSON
{
  "hex": "#976afb",
  "rgb": {
    "r": 151,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 258.621,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.64101,
    "c": 0.20698,
    "h": 294.1
  },
  "luminance": 0.23852
}

Semantic roles & 50–950 ramp

primary
#976AFB
secondary
#E8F5CC
accent
#E6009E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #976AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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