#A477FE#A477FE

#A477FE is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.5% C 0.193 H 296.2°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A477FE
RGBrgb(164, 119, 254)
HSLhsl(260, 99%, 73%)
HSVhsv(260, 53%, 100%)
CMYKcmyk(35.4%, 53.1%, 0%, 0.4%)
CIE-LABlab(60.11, 46.00, -61.29)
CIE-LCHlch(60.11, 76.63, 306.89°)
OKLaboklab(67.52% 0.0855 -0.1736)
OKLCHoklch(67.52% 0.193 296.2)
XYZxyz(39.7915, 28.2413, 97.1014)
Luminance0.2824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A477FE #D1FE77
analogous
#778DFE #A477FE #E777FE
triadic
#A477FE #FEA477 #77FEA4
tetradic
#A477FE #FE778D #D1FE77 #77FEE7
square
#A477FE #FE778D #D1FE77 #77FEE7
split-complementary
#A477FE #FEE777 #8DFE77
monochromatic
#5402F9 #7B3AFE #A477FE #CDB4FE #EBE1FF

Accessibility & contrast

On white

3.16
#A477FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#A477FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A477FE
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A477FE#FFFFFF#000000##000000
##A477FE1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E92FF
Deuteranopia (green-blind)
#4A8FFB
Tritanopia (blue-blind)
#8F92AF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a477fe;
/* rgb */ color: rgb(164, 119, 254);
/* oklch */ color: oklch(67.5% 0.193 296.2);
Tailwind
colors: {
  custom: {
    50: '#c39fff',
    500: '#a477fe',
    950: '#000000',
  },
}
SCSS
$custom: #a477fe;
$custom-light: #c39fff;
$custom-dark: #000000;
JSON
{
  "hex": "#a477fe",
  "rgb": {
    "r": 164,
    "g": 119,
    "b": 254
  },
  "hsl": {
    "h": 260,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67522,
    "c": 0.19347,
    "h": 296.2
  },
  "luminance": 0.28242
}

Semantic roles & 50–950 ramp

primary
#A477FE
secondary
#EBF7D4
accent
#E60099
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A477FE

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

Preview Lab → · Contrast checker → · Palette generator →

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