#A276DC#A276DC

#A276DC is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.2% C 0.152 H 302.3°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A276DC
RGBrgb(162, 118, 220)
HSLhsl(266, 59%, 66%)
HSVhsv(266, 46%, 86%)
CMYKcmyk(26.4%, 46.4%, 0%, 13.7%)
CIE-LABlab(57.85, 37.63, -46.00)
CIE-LCHlch(57.85, 59.43, 309.29°)
OKLaboklab(65.2% 0.0814 -0.1289)
OKLCHoklch(65.2% 0.152 302.3)
XYZxyz(34.2941, 25.8055, 70.8705)
Luminance0.2581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A276DC #B0DC76
analogous
#767DDC #A276DC #D576DC
triadic
#A276DC #DCA276 #76DCA2
tetradic
#A276DC #DC767D #B0DC76 #76DCD5
square
#A276DC #DC767D #B0DC76 #76DCD5
split-complementary
#A276DC #DCD576 #7DDC76
monochromatic
#632CAC #8145D0 #A276DC #C3A7E8 #E4D7F5

Accessibility & contrast

On white

3.41
#A276DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#A276DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A276DC
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A276DC#FFFFFF#000000##000000
##A276DC1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#598AE0
Deuteranopia (green-blind)
#638BD9
Tritanopia (blue-blind)
#98889F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a276dc;
/* rgb */ color: rgb(162, 118, 220);
/* oklch */ color: oklch(65.2% 0.152 302.3);
Tailwind
colors: {
  custom: {
    50: '#c09ee7',
    500: '#a276dc',
    950: '#000000',
  },
}
SCSS
$custom: #a276dc;
$custom-light: #c09ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#a276dc",
  "rgb": {
    "r": 162,
    "g": 118,
    "b": 220
  },
  "hsl": {
    "h": 265.882,
    "s": 59.302,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65203,
    "c": 0.15245,
    "h": 302.3
  },
  "luminance": 0.25806
}

Semantic roles & 50–950 ramp

primary
#A276DC
secondary
#D9E8C6
accent
#C71F7E
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A276DC

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

Preview Lab → · Contrast checker → · Palette generator →

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