#A477C7#A477C7

#A477C7 is a light, vivid violet. Relative luminance 0.252; OKLCH L 64.5% C 0.125 H 309.1°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A477C7
RGBrgb(164, 119, 199)
HSLhsl(274, 42%, 62%)
HSVhsv(274, 40%, 78%)
CMYKcmyk(17.6%, 40.2%, 0%, 22%)
CIE-LABlab(57.28, 32.75, -35.02)
CIE-LCHlch(57.28, 47.95, 313.08°)
OKLaboklab(64.49% 0.079 -0.0971)
OKLCHoklch(64.49% 0.125 309.1)
XYZxyz(32.2136, 25.2101, 57.1908)
Luminance0.2521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A477C7 #9AC777
analogous
#7C77C7 #A477C7 #C777C2
triadic
#A477C7 #C7A477 #77C7A4
tetradic
#A477C7 #C77C77 #9AC777 #77C2C7
square
#A477C7 #C77C77 #9AC777 #77C2C7
split-complementary
#A477C7 #C2C777 #77C77C
monochromatic
#67398B #874CB5 #A477C7 #C1A2D9 #DECEEB

Accessibility & contrast

On white

3.48
#A477C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#A477C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A477C7
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A477C7#FFFFFF#000000##000000
##A477C71.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6687CA
Deuteranopia (green-blind)
#718AC5
Tritanopia (blue-blind)
#A08396
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a477c7;
/* rgb */ color: rgb(164, 119, 199);
/* oklch */ color: oklch(64.5% 0.125 309.1);
Tailwind
colors: {
  custom: {
    50: '#c09fd8',
    500: '#a477c7',
    950: '#000000',
  },
}
SCSS
$custom: #a477c7;
$custom-light: #c09fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#a477c7",
  "rgb": {
    "r": 164,
    "g": 119,
    "b": 199
  },
  "hsl": {
    "h": 273.75,
    "s": 41.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64492,
    "c": 0.12512,
    "h": 309.1
  },
  "luminance": 0.2521
}

Semantic roles & 50–950 ramp

primary
#A477C7
secondary
#CBDCBE
accent
#B5316B
background
#FBF9FD
surface
#F7F2FA
border
#D0CCD3
text
#120E14
muted
#817E83

Preview Lab

Preview with #A477C7

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

Preview Lab → · Contrast checker → · Palette generator →

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