#A477CB#A477CB

#A477CB is a light, vivid violet. Relative luminance 0.254; OKLCH L 64.7% C 0.130 H 307.8°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A477CB
RGBrgb(164, 119, 203)
HSLhsl(272, 45%, 63%)
HSVhsv(272, 41%, 80%)
CMYKcmyk(19.2%, 41.4%, 0%, 20.4%)
CIE-LABlab(57.46, 33.65, -37.01)
CIE-LCHlch(57.46, 50.02, 312.28°)
OKLaboklab(64.69% 0.0797 -0.1028)
OKLCHoklch(64.69% 0.13 307.8)
XYZxyz(32.6841, 25.3983, 59.6689)
Luminance0.2540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A477CB #9ECB77
analogous
#7A77CB #A477CB #CB77C8
triadic
#A477CB #CBA477 #77CBA4
tetradic
#A477CB #CB7A77 #9ECB77 #77C8CB
square
#A477CB #CB7A77 #9ECB77 #77C8CB
split-complementary
#A477CB #C8CB77 #77CB7A
monochromatic
#673790 #864BBA #A477CB #C2A3DC #DFD0ED

Accessibility & contrast

On white

3.45
#A477CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#A477CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A477CB
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A477CB#FFFFFF#000000##000000
##A477CB1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6488CE
Deuteranopia (green-blind)
#6F8BC9
Tritanopia (blue-blind)
#9F8497
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a477cb;
/* rgb */ color: rgb(164, 119, 203);
/* oklch */ color: oklch(64.7% 0.130 307.8);
Tailwind
colors: {
  custom: {
    50: '#c09fdb',
    500: '#a477cb',
    950: '#000000',
  },
}
SCSS
$custom: #a477cb;
$custom-light: #c09fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a477cb",
  "rgb": {
    "r": 164,
    "g": 119,
    "b": 203
  },
  "hsl": {
    "h": 272.143,
    "s": 44.681,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64689,
    "c": 0.13008,
    "h": 307.8
  },
  "luminance": 0.25398
}

Semantic roles & 50–950 ramp

primary
#A477CB
secondary
#CEDEC0
accent
#B82E6E
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A477CB

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

Preview Lab → · Contrast checker → · Palette generator →

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