#A477EC#A477EC

#A477EC is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.5% C 0.171 H 299.5°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A477EC
RGBrgb(164, 119, 236)
HSLhsl(263, 75%, 70%)
HSVhsv(263, 50%, 93%)
CMYKcmyk(30.5%, 49.6%, 0%, 7.5%)
CIE-LABlab(59.11, 41.49, -52.93)
CIE-LCHlch(59.11, 67.26, 308.09°)
OKLaboklab(66.46% 0.0843 -0.1491)
OKLCHoklch(66.46% 0.171 299.5)
XYZxyz(37.0434, 27.1420, 82.6280)
Luminance0.2714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A477EC #BFEC77
analogous
#7785EC #A477EC #DF77EC
triadic
#A477EC #ECA477 #77ECA4
tetradic
#A477EC #EC7785 #BFEC77 #77ECDF
square
#A477EC #EC7785 #BFEC77 #77ECDF
split-complementary
#A477EC #ECDF77 #85EC77
monochromatic
#601DCC #8041E4 #A477EC #C8ADF4 #ECE2FB

Accessibility & contrast

On white

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

On black

6.43
#A477EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A477EC
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A477EC#FFFFFF#000000##000000
##A477EC1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8EF0
Deuteranopia (green-blind)
#5B8DE9
Tritanopia (blue-blind)
#958DA7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a477ec;
/* rgb */ color: rgb(164, 119, 236);
/* oklch */ color: oklch(66.5% 0.171 299.5);
Tailwind
colors: {
  custom: {
    50: '#c29ff3',
    500: '#a477ec',
    950: '#000000',
  },
}
SCSS
$custom: #a477ec;
$custom-light: #c29ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#a477ec",
  "rgb": {
    "r": 164,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 263.077,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66456,
    "c": 0.17126,
    "h": 299.5
  },
  "luminance": 0.27142
}

Semantic roles & 50–950 ramp

primary
#A477EC
secondary
#E3F0CF
accent
#D80E8A
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A477EC

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

Preview Lab → · Contrast checker → · Palette generator →

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