#A976E7#A976E7

#A976E7 is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.5% C 0.168 H 303.0°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A976E7
RGBrgb(169, 118, 231)
HSLhsl(267, 70%, 68%)
HSVhsv(267, 49%, 91%)
CMYKcmyk(26.8%, 48.9%, 0%, 9.4%)
CIE-LABlab(59.12, 42.13, -50.09)
CIE-LCHlch(59.12, 65.45, 310.07°)
OKLaboklab(66.5% 0.0912 -0.1406)
OKLCHoklch(66.5% 0.168 303)
XYZxyz(37.2612, 27.1614, 78.8655)
Luminance0.2716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A976E7 #B4E776
analogous
#767BE7 #A976E7 #E276E7
triadic
#A976E7 #E7A976 #76E7A9
tetradic
#A976E7 #E7767B #B4E776 #76E7E2
square
#A976E7 #E7767B #B4E776 #76E7E2
split-complementary
#A976E7 #E7E276 #7BE776
monochromatic
#6A22C1 #8842DE #A976E7 #CAAAF0 #EADEF9

Accessibility & contrast

On white

3.26
#A976E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#A976E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A976E7
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A976E7#FFFFFF#000000##000000
##A976E71.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#538DEB
Deuteranopia (green-blind)
#618EE4
Tritanopia (blue-blind)
#9E8AA4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a976e7;
/* rgb */ color: rgb(169, 118, 231);
/* oklch */ color: oklch(66.5% 0.168 303.0);
Tailwind
colors: {
  custom: {
    50: '#c59fef',
    500: '#a976e7',
    950: '#000000',
  },
}
SCSS
$custom: #a976e7;
$custom-light: #c59fef;
$custom-dark: #000000;
JSON
{
  "hex": "#a976e7",
  "rgb": {
    "r": 169,
    "g": 118,
    "b": 231
  },
  "hsl": {
    "h": 267.08,
    "s": 70.186,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66499,
    "c": 0.16763,
    "h": 303
  },
  "luminance": 0.27161
}

Semantic roles & 50–950 ramp

primary
#A976E7
secondary
#DEEDCB
accent
#D2137C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A976E7

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

Preview Lab → · Contrast checker → · Palette generator →

#A976E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva