#A477DC#A477DC

#A477DC is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.6% C 0.151 H 303.0°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A477DC
RGBrgb(164, 119, 220)
HSLhsl(267, 59%, 66%)
HSVhsv(267, 46%, 86%)
CMYKcmyk(25.5%, 45.9%, 0%, 13.7%)
CIE-LABlab(58.28, 37.62, -45.31)
CIE-LCHlch(58.28, 58.89, 309.70°)
OKLaboklab(65.57% 0.0825 -0.1268)
OKLCHoklch(65.57% 0.151 303)
XYZxyz(34.8221, 26.2535, 70.9292)
Luminance0.2625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A477DC #AFDC77
analogous
#777DDC #A477DC #D777DC
triadic
#A477DC #DCA477 #77DCA4
tetradic
#A477DC #DC777D #AFDC77 #77DCD7
square
#A477DC #DC777D #AFDC77 #77DCD7
split-complementary
#A477DC #DCD777 #7DDC77
monochromatic
#652CAC #8346CF #A477DC #C5A8E9 #E5D8F5

Accessibility & contrast

On white

3.36
#A477DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#A477DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A477DC
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A477DC#FFFFFF#000000##000000
##A477DC1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8BE0
Deuteranopia (green-blind)
#668CD9
Tritanopia (blue-blind)
#9A899F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a477dc;
/* rgb */ color: rgb(164, 119, 220);
/* oklch */ color: oklch(65.6% 0.151 303.0);
Tailwind
colors: {
  custom: {
    50: '#c19fe7',
    500: '#a477dc',
    950: '#000000',
  },
}
SCSS
$custom: #a477dc;
$custom-light: #c19fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#a477dc",
  "rgb": {
    "r": 164,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 266.733,
    "s": 59.064,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65568,
    "c": 0.1513,
    "h": 303
  },
  "luminance": 0.26253
}

Semantic roles & 50–950 ramp

primary
#A477DC
secondary
#D9E8C7
accent
#C71F7C
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A477DC

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

Preview Lab → · Contrast checker → · Palette generator →

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