#A477EF#A477EF

#A477EF is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.6% C 0.175 H 298.9°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A477EF
RGBrgb(164, 119, 239)
HSLhsl(263, 79%, 70%)
HSVhsv(263, 50%, 94%)
CMYKcmyk(31.4%, 50.2%, 0%, 6.3%)
CIE-LABlab(59.27, 42.24, -54.34)
CIE-LCHlch(59.27, 68.83, 307.86°)
OKLaboklab(66.63% 0.0845 -0.1532)
OKLCHoklch(66.63% 0.175 298.9)
XYZxyz(37.4829, 27.3178, 84.9427)
Luminance0.2732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A477EF #C2EF77
analogous
#7786EF #A477EF #E077EF
triadic
#A477EF #EFA477 #77EFA4
tetradic
#A477EF #EF7786 #C2EF77 #77EFE0
square
#A477EF #EF7786 #C2EF77 #77EFE0
split-complementary
#A477EF #EFE077 #86EF77
monochromatic
#5F19D3 #7F40E9 #A477EF #C9AEF5 #EDE4FC

Accessibility & contrast

On white

3.25
#A477EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#A477EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A477EF
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A477EF#FFFFFF#000000##000000
##A477EF1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8FF3
Deuteranopia (green-blind)
#588EEC
Tritanopia (blue-blind)
#948EA8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a477ef;
/* rgb */ color: rgb(164, 119, 239);
/* oklch */ color: oklch(66.6% 0.175 298.9);
Tailwind
colors: {
  custom: {
    50: '#c29ff5',
    500: '#a477ef',
    950: '#000000',
  },
}
SCSS
$custom: #a477ef;
$custom-light: #c29ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#a477ef",
  "rgb": {
    "r": 164,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 262.5,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66629,
    "c": 0.17498,
    "h": 298.9
  },
  "luminance": 0.27318
}

Semantic roles & 50–950 ramp

primary
#A477EF
secondary
#E5F2D0
accent
#DB0A8D
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A477EF

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

Preview Lab → · Contrast checker → · Palette generator →

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