#A477FB#A477FB

#A477FB is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.3% C 0.190 H 296.7°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#A477FB
RGBrgb(164, 119, 251)
HSLhsl(260, 94%, 73%)
HSVhsv(260, 53%, 98%)
CMYKcmyk(34.7%, 52.6%, 0%, 1.6%)
CIE-LABlab(59.93, 45.24, -59.91)
CIE-LCHlch(59.93, 75.08, 307.06°)
OKLaboklab(67.34% 0.0853 -0.1695)
OKLCHoklch(67.34% 0.19 296.7)
XYZxyz(39.3149, 28.0506, 94.5911)
Luminance0.2805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A477FB #CEFB77
analogous
#778CFB #A477FB #E677FB
triadic
#A477FB #FBA477 #77FBA4
tetradic
#A477FB #FB778C #CEFB77 #77FBE6
square
#A477FB #FB778C #CEFB77 #77FBE6
split-complementary
#A477FB #FBE677 #8CFB77
monochromatic
#5707F1 #7C3CF9 #A477FB #CCB2FD #EBE1FE

Accessibility & contrast

On white

3.18
#A477FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#A477FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A477FB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A477FB#FFFFFF#000000##000000
##A477FB1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4191FF
Deuteranopia (green-blind)
#4E8FF8
Tritanopia (blue-blind)
#9091AE
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a477fb;
/* rgb */ color: rgb(164, 119, 251);
/* oklch */ color: oklch(67.3% 0.190 296.7);
Tailwind
colors: {
  custom: {
    50: '#c39ffd',
    500: '#a477fb',
    950: '#000000',
  },
}
SCSS
$custom: #a477fb;
$custom-light: #c39ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#a477fb",
  "rgb": {
    "r": 164,
    "g": 119,
    "b": 251
  },
  "hsl": {
    "h": 260.455,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.6734,
    "c": 0.18978,
    "h": 296.7
  },
  "luminance": 0.28051
}

Semantic roles & 50–950 ramp

primary
#A477FB
secondary
#EBF6D5
accent
#E60097
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A477FB

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

Preview Lab → · Contrast checker → · Palette generator →

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