#A477F8#A477F8

#A477F8 is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.2% C 0.186 H 297.2°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#A477F8
RGBrgb(164, 119, 248)
HSLhsl(261, 90%, 72%)
HSVhsv(261, 52%, 97%)
CMYKcmyk(33.9%, 52%, 0%, 2.7%)
CIE-LABlab(59.76, 44.48, -58.53)
CIE-LCHlch(59.76, 73.52, 307.23°)
OKLaboklab(67.16% 0.0852 -0.1655)
OKLCHoklch(67.16% 0.186 297.2)
XYZxyz(38.8457, 27.8630, 92.1202)
Luminance0.2786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A477F8 #CBF877
analogous
#778BF8 #A477F8 #E477F8
triadic
#A477F8 #F8A477 #77F8A4
tetradic
#A477F8 #F8778B #CBF877 #77F8E4
square
#A477F8 #F8778B #CBF877 #77F8E4
split-complementary
#A477F8 #F8E477 #8BF877
monochromatic
#590CE9 #7D3DF5 #A477F8 #CBB1FB #ECE2FE

Accessibility & contrast

On white

3.20
#A477F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#A477F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A477F8
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A477F8#FFFFFF#000000##000000
##A477F81.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4490FC
Deuteranopia (green-blind)
#508EF5
Tritanopia (blue-blind)
#9191AC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a477f8;
/* rgb */ color: rgb(164, 119, 248);
/* oklch */ color: oklch(67.2% 0.186 297.2);
Tailwind
colors: {
  custom: {
    50: '#c39ffb',
    500: '#a477f8',
    950: '#000000',
  },
}
SCSS
$custom: #a477f8;
$custom-light: #c39ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#a477f8",
  "rgb": {
    "r": 164,
    "g": 119,
    "b": 248
  },
  "hsl": {
    "h": 260.93,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67159,
    "c": 0.1861,
    "h": 297.2
  },
  "luminance": 0.27863
}

Semantic roles & 50–950 ramp

primary
#A477F8
secondary
#EAF6D5
accent
#E60095
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A477F8

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

Preview Lab → · Contrast checker → · Palette generator →

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