#A276FD#A276FD

#A276FD is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.1% C 0.193 H 295.8°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#A276FD
RGBrgb(162, 118, 253)
HSLhsl(260, 97%, 73%)
HSVhsv(260, 53%, 99%)
CMYKcmyk(36%, 53.4%, 0%, 0.8%)
CIE-LABlab(59.64, 45.83, -61.49)
CIE-LCHlch(59.64, 76.69, 306.69°)
OKLaboklab(67.12% 0.0842 -0.1742)
OKLCHoklch(67.12% 0.193 295.8)
XYZxyz(39.1038, 27.7294, 96.2016)
Luminance0.2773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A276FD #D1FD76
analogous
#768DFD #A276FD #E676FD
triadic
#A276FD #FDA276 #76FDA2
tetradic
#A276FD #FD768D #D1FD76 #76FDE6
square
#A276FD #FD768D #D1FD76 #76FDE6
split-complementary
#A276FD #FDE676 #8DFD76
monochromatic
#5204F5 #793AFC #A276FD #CBB2FE #EBE1FF

Accessibility & contrast

On white

3.21
#A276FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#A276FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A276FD
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A276FD#FFFFFF#000000##000000
##A276FD1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C91FF
Deuteranopia (green-blind)
#488EFA
Tritanopia (blue-blind)
#8C91AE
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a276fd;
/* rgb */ color: rgb(162, 118, 253);
/* oklch */ color: oklch(67.1% 0.193 295.8);
Tailwind
colors: {
  custom: {
    50: '#c29fff',
    500: '#a276fd',
    950: '#000000',
  },
}
SCSS
$custom: #a276fd;
$custom-light: #c29fff;
$custom-dark: #000000;
JSON
{
  "hex": "#a276fd",
  "rgb": {
    "r": 162,
    "g": 118,
    "b": 253
  },
  "hsl": {
    "h": 259.556,
    "s": 97.122,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67116,
    "c": 0.19348,
    "h": 295.8
  },
  "luminance": 0.2773
}

Semantic roles & 50–950 ramp

primary
#A276FD
secondary
#ECF7D4
accent
#E6009B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A276FD

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

Preview Lab → · Contrast checker → · Palette generator →

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