#A276F9#A276F9

#A276F9 is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.9% C 0.189 H 296.4°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A276F9
RGBrgb(162, 118, 249)
HSLhsl(260, 92%, 72%)
HSVhsv(260, 53%, 98%)
CMYKcmyk(34.9%, 52.6%, 0%, 2.4%)
CIE-LABlab(59.41, 44.81, -59.66)
CIE-LCHlch(59.41, 74.61, 306.91°)
OKLaboklab(66.87% 0.084 -0.1688)
OKLCHoklch(66.87% 0.189 296.4)
XYZxyz(38.4733, 27.4772, 92.8808)
Luminance0.2748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A276F9 #CDF976
analogous
#768CF9 #A276F9 #E476F9
triadic
#A276F9 #F9A276 #76F9A2
tetradic
#A276F9 #F9768C #CDF976 #76F9E4
square
#A276F9 #F9768C #CDF976 #76F9E4
split-complementary
#A276F9 #F9E476 #8CF976
monochromatic
#560AEA #7A3BF6 #A276F9 #CAB1FC #EBE2FE

Accessibility & contrast

On white

3.23
#A276F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#A276F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A276F9
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A276F9#FFFFFF#000000##000000
##A276F91.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4090FD
Deuteranopia (green-blind)
#4C8DF6
Tritanopia (blue-blind)
#8E90AC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a276f9;
/* rgb */ color: rgb(162, 118, 249);
/* oklch */ color: oklch(66.9% 0.189 296.4);
Tailwind
colors: {
  custom: {
    50: '#c29efc',
    500: '#a276f9',
    950: '#000000',
  },
}
SCSS
$custom: #a276f9;
$custom-light: #c29efc;
$custom-dark: #000000;
JSON
{
  "hex": "#a276f9",
  "rgb": {
    "r": 162,
    "g": 118,
    "b": 249
  },
  "hsl": {
    "h": 260.153,
    "s": 91.608,
    "l": 71.961
  },
  "oklch": {
    "l": 0.66872,
    "c": 0.18856,
    "h": 296.4
  },
  "luminance": 0.27478
}

Semantic roles & 50–950 ramp

primary
#A276F9
secondary
#EBF6D5
accent
#E60098
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A276F9

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

Preview Lab → · Contrast checker → · Palette generator →

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