#A477F2#A477F2

#A477F2 is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.8% C 0.179 H 298.3°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A477F2
RGBrgb(164, 119, 242)
HSLhsl(262, 83%, 71%)
HSVhsv(262, 51%, 95%)
CMYKcmyk(32.2%, 50.8%, 0%, 5.1%)
CIE-LABlab(59.43, 42.98, -55.74)
CIE-LCHlch(59.43, 70.39, 307.63°)
OKLaboklab(66.8% 0.0848 -0.1573)
OKLCHoklch(66.8% 0.179 298.3)
XYZxyz(37.9298, 27.4966, 87.2962)
Luminance0.2750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A477F2 #C5F277
analogous
#7787F2 #A477F2 #E177F2
triadic
#A477F2 #F2A477 #77F2A4
tetradic
#A477F2 #F27787 #C5F277 #77F2E1
square
#A477F2 #F27787 #C5F277 #77F2E1
split-complementary
#A477F2 #F2E177 #87F277
monochromatic
#5D15DA #7F3FED #A477F2 #C9AFF7 #ECE3FC

Accessibility & contrast

On white

3.23
#A477F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#A477F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A477F2
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A477F2#FFFFFF#000000##000000
##A477F21.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8FF6
Deuteranopia (green-blind)
#568EEF
Tritanopia (blue-blind)
#938FA9
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a477f2;
/* rgb */ color: rgb(164, 119, 242);
/* oklch */ color: oklch(66.8% 0.179 298.3);
Tailwind
colors: {
  custom: {
    50: '#c29ff7',
    500: '#a477f2',
    950: '#000000',
  },
}
SCSS
$custom: #a477f2;
$custom-light: #c29ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#a477f2",
  "rgb": {
    "r": 164,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 261.951,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66804,
    "c": 0.17869,
    "h": 298.3
  },
  "luminance": 0.27497
}

Semantic roles & 50–950 ramp

primary
#A477F2
secondary
#E7F3D2
accent
#DF0790
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A477F2

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

Preview Lab → · Contrast checker → · Palette generator →

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