#A477F6#A477F6

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

Color values

HEX#A477F6
RGBrgb(164, 119, 246)
HSLhsl(261, 88%, 72%)
HSVhsv(261, 52%, 96%)
CMYKcmyk(33.3%, 51.6%, 0%, 3.5%)
CIE-LABlab(59.65, 43.98, -57.60)
CIE-LCHlch(59.65, 72.47, 307.36°)
OKLaboklab(67.04% 0.085 -0.1628)
OKLCHoklch(67.04% 0.184 297.6)
XYZxyz(38.5371, 27.7395, 90.4948)
Luminance0.2774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A477F6 #C9F677
analogous
#778AF6 #A477F6 #E477F6
triadic
#A477F6 #F6A477 #77F6A4
tetradic
#A477F6 #F6778A #C9F677 #77F6E4
square
#A477F6 #F6778A #C9F677 #77F6E4
split-complementary
#A477F6 #F6E477 #8AF677
monochromatic
#5A0FE4 #7E3EF2 #A477F6 #CAB0FA #ECE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A477F6#FFFFFF#000000##000000
##A477F61.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)
#4690FA
Deuteranopia (green-blind)
#528EF3
Tritanopia (blue-blind)
#9290AB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a477f6;
/* rgb */ color: rgb(164, 119, 246);
/* oklch */ color: oklch(67.0% 0.184 297.6);
Tailwind
colors: {
  custom: {
    50: '#c39ffa',
    500: '#a477f6',
    950: '#000000',
  },
}
SCSS
$custom: #a477f6;
$custom-light: #c39ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#a477f6",
  "rgb": {
    "r": 164,
    "g": 119,
    "b": 246
  },
  "hsl": {
    "h": 261.26,
    "s": 87.586,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6704,
    "c": 0.18363,
    "h": 297.6
  },
  "luminance": 0.2774
}

Semantic roles & 50–950 ramp

primary
#A477F6
secondary
#E9F5D4
accent
#E40194
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A477F6

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

Preview Lab → · Contrast checker → · Palette generator →

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