#A477C9#A477C9

#A477C9 is a light, vivid violet. Relative luminance 0.253; OKLCH L 64.6% C 0.128 H 308.5°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A477C9
RGBrgb(164, 119, 201)
HSLhsl(273, 43%, 63%)
HSVhsv(273, 41%, 79%)
CMYKcmyk(18.4%, 40.8%, 0%, 21.2%)
CIE-LABlab(57.37, 33.20, -36.02)
CIE-LCHlch(57.37, 48.98, 312.67°)
OKLaboklab(64.59% 0.0794 -0.0999)
OKLCHoklch(64.59% 0.128 308.5)
XYZxyz(32.4473, 25.3036, 58.4218)
Luminance0.2530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A477C9 #9CC977
analogous
#7B77C9 #A477C9 #C977C5
triadic
#A477C9 #C9A477 #77C9A4
tetradic
#A477C9 #C97B77 #9CC977 #77C5C9
square
#A477C9 #C97B77 #9CC977 #77C5C9
split-complementary
#A477C9 #C5C977 #77C97B
monochromatic
#67388D #874BB8 #A477C9 #C1A3DA #DFCFEC

Accessibility & contrast

On white

3.47
#A477C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#A477C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A477C9
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A477C9#FFFFFF#000000##000000
##A477C91.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6588CC
Deuteranopia (green-blind)
#708AC7
Tritanopia (blue-blind)
#9F8396
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a477c9;
/* rgb */ color: rgb(164, 119, 201);
/* oklch */ color: oklch(64.6% 0.128 308.5);
Tailwind
colors: {
  custom: {
    50: '#c09fd9',
    500: '#a477c9',
    950: '#000000',
  },
}
SCSS
$custom: #a477c9;
$custom-light: #c09fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#a477c9",
  "rgb": {
    "r": 164,
    "g": 119,
    "b": 201
  },
  "hsl": {
    "h": 272.927,
    "s": 43.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6459,
    "c": 0.12759,
    "h": 308.5
  },
  "luminance": 0.25303
}

Semantic roles & 50–950 ramp

primary
#A477C9
secondary
#CCDDBF
accent
#B62F6C
background
#FBF9FD
surface
#F7F2FA
border
#D0CCD3
text
#120E15
muted
#817E83

Preview Lab

Preview with #A477C9

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

Preview Lab → · Contrast checker → · Palette generator →

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