#A276F6#A276F6

#A276F6 is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.7% C 0.185 H 297.0°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A276F6
RGBrgb(162, 118, 246)
HSLhsl(261, 88%, 71%)
HSVhsv(261, 52%, 96%)
CMYKcmyk(34.1%, 52%, 0%, 3.5%)
CIE-LABlab(59.24, 44.05, -58.27)
CIE-LCHlch(59.24, 73.05, 307.09°)
OKLaboklab(66.69% 0.0838 -0.1648)
OKLCHoklch(66.69% 0.185 297)
XYZxyz(38.0091, 27.2915, 90.4362)
Luminance0.2729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A276F6 #CAF676
analogous
#768AF6 #A276F6 #E276F6
triadic
#A276F6 #F6A276 #76F6A2
tetradic
#A276F6 #F6768A #CAF676 #76F6E2
square
#A276F6 #F6768A #CAF676 #76F6E2
split-complementary
#A276F6 #F6E276 #8AF676
monochromatic
#580FE3 #7B3DF2 #A276F6 #C9AFFA #ECE2FD

Accessibility & contrast

On white

3.25
#A276F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#A276F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A276F6
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A276F6#FFFFFF#000000##000000
##A276F61.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#438FFA
Deuteranopia (green-blind)
#4F8DF3
Tritanopia (blue-blind)
#8F8FAB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a276f6;
/* rgb */ color: rgb(162, 118, 246);
/* oklch */ color: oklch(66.7% 0.185 297.0);
Tailwind
colors: {
  custom: {
    50: '#c19efa',
    500: '#a276f6',
    950: '#000000',
  },
}
SCSS
$custom: #a276f6;
$custom-light: #c19efa;
$custom-dark: #000000;
JSON
{
  "hex": "#a276f6",
  "rgb": {
    "r": 162,
    "g": 118,
    "b": 246
  },
  "hsl": {
    "h": 260.625,
    "s": 87.671,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66691,
    "c": 0.18487,
    "h": 297
  },
  "luminance": 0.27292
}

Semantic roles & 50–950 ramp

primary
#A276F6
secondary
#E9F5D3
accent
#E40196
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A276F6

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

Preview Lab → · Contrast checker → · Palette generator →

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