#A477EB#A477EB

#A477EB is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.4% C 0.170 H 299.7°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A477EB
RGBrgb(164, 119, 235)
HSLhsl(263, 74%, 69%)
HSVhsv(263, 49%, 92%)
CMYKcmyk(30.2%, 49.4%, 0%, 7.8%)
CIE-LABlab(59.05, 41.25, -52.46)
CIE-LCHlch(59.05, 66.74, 308.18°)
OKLaboklab(66.4% 0.0842 -0.1477)
OKLCHoklch(66.4% 0.17 299.7)
XYZxyz(36.8985, 27.0841, 81.8649)
Luminance0.2708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A477EB #BEEB77
analogous
#7784EB #A477EB #DE77EB
triadic
#A477EB #EBA477 #77EBA4
tetradic
#A477EB #EB7784 #BEEB77 #77EBDE
square
#A477EB #EB7784 #BEEB77 #77EBDE
split-complementary
#A477EB #EBDE77 #84EB77
monochromatic
#611ECA #8042E3 #A477EB #C8ACF3 #EBE2FB

Accessibility & contrast

On white

3.27
#A477EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#A477EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A477EB
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A477EB#FFFFFF#000000##000000
##A477EB1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#508EEF
Deuteranopia (green-blind)
#5B8DE8
Tritanopia (blue-blind)
#968DA6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a477eb;
/* rgb */ color: rgb(164, 119, 235);
/* oklch */ color: oklch(66.4% 0.170 299.7);
Tailwind
colors: {
  custom: {
    50: '#c29ff2',
    500: '#a477eb',
    950: '#000000',
  },
}
SCSS
$custom: #a477eb;
$custom-light: #c29ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#a477eb",
  "rgb": {
    "r": 164,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 263.276,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66399,
    "c": 0.17001,
    "h": 299.7
  },
  "luminance": 0.27084
}

Semantic roles & 50–950 ramp

primary
#A477EB
secondary
#E3F0CE
accent
#D60F89
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A477EB

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

Preview Lab → · Contrast checker → · Palette generator →

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