#A477F7#A477F7

#A477F7 is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.1% C 0.185 H 297.4°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A477F7
RGBrgb(164, 119, 247)
HSLhsl(261, 89%, 72%)
HSVhsv(261, 52%, 97%)
CMYKcmyk(33.6%, 51.8%, 0%, 3.1%)
CIE-LABlab(59.71, 44.23, -58.07)
CIE-LCHlch(59.71, 73.00, 307.30°)
OKLaboklab(67.1% 0.0851 -0.1641)
OKLCHoklch(67.1% 0.185 297.4)
XYZxyz(38.6910, 27.8011, 91.3054)
Luminance0.2780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A477F7 #CAF777
analogous
#778AF7 #A477F7 #E477F7
triadic
#A477F7 #F7A477 #77F7A4
tetradic
#A477F7 #F7778A #CAF777 #77F7E4
square
#A477F7 #F7778A #CAF777 #77F7E4
split-complementary
#A477F7 #F7E477 #8AF777
monochromatic
#5A0EE6 #7D3DF4 #A477F7 #CBB1FA #ECE2FD

Accessibility & contrast

On white

3.20
#A477F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#A477F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A477F7
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A477F7#FFFFFF#000000##000000
##A477F71.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4590FB
Deuteranopia (green-blind)
#518EF4
Tritanopia (blue-blind)
#9290AC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a477f7;
/* rgb */ color: rgb(164, 119, 247);
/* oklch */ color: oklch(67.1% 0.185 297.4);
Tailwind
colors: {
  custom: {
    50: '#c39ffa',
    500: '#a477f7',
    950: '#000000',
  },
}
SCSS
$custom: #a477f7;
$custom-light: #c39ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#a477f7",
  "rgb": {
    "r": 164,
    "g": 119,
    "b": 247
  },
  "hsl": {
    "h": 261.094,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67099,
    "c": 0.18487,
    "h": 297.4
  },
  "luminance": 0.27802
}

Semantic roles & 50–950 ramp

primary
#A477F7
secondary
#EAF5D5
accent
#E60095
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A477F7

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

Preview Lab → · Contrast checker → · Palette generator →

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