#A476F7#A476F7

#A476F7 is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.9% C 0.186 H 297.6°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A476F7
RGBrgb(164, 118, 247)
HSLhsl(261, 89%, 72%)
HSVhsv(261, 52%, 97%)
CMYKcmyk(33.6%, 52.2%, 0%, 3.1%)
CIE-LABlab(59.49, 44.78, -58.41)
CIE-LCHlch(59.49, 73.60, 307.48°)
OKLaboklab(66.94% 0.0863 -0.1651)
OKLCHoklch(66.94% 0.186 297.6)
XYZxyz(38.5726, 27.5643, 91.2659)
Luminance0.2757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A476F7 #C9F776
analogous
#7689F7 #A476F7 #E476F7
triadic
#A476F7 #F7A476 #76F7A4
tetradic
#A476F7 #F77689 #C9F776 #76F7E4
square
#A476F7 #F77689 #C9F776 #76F7E4
split-complementary
#A476F7 #F7E476 #89F776
monochromatic
#5A0DE5 #7E3CF4 #A476F7 #CAB0FA #ECE2FD

Accessibility & contrast

On white

3.22
#A476F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#A476F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A476F7
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A476F7#FFFFFF#000000##000000
##A476F71.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4390FB
Deuteranopia (green-blind)
#508EF4
Tritanopia (blue-blind)
#9290AB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a476f7;
/* rgb */ color: rgb(164, 118, 247);
/* oklch */ color: oklch(66.9% 0.186 297.6);
Tailwind
colors: {
  custom: {
    50: '#c39ffa',
    500: '#a476f7',
    950: '#000000',
  },
}
SCSS
$custom: #a476f7;
$custom-light: #c39ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#a476f7",
  "rgb": {
    "r": 164,
    "g": 118,
    "b": 247
  },
  "hsl": {
    "h": 261.395,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66939,
    "c": 0.18634,
    "h": 297.6
  },
  "luminance": 0.27565
}

Semantic roles & 50–950 ramp

primary
#A476F7
secondary
#E9F5D4
accent
#E60094
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A476F7

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

Preview Lab → · Contrast checker → · Palette generator →

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