#A877FD#A877FD

#A877FD is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.8% C 0.193 H 297.9°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A877FD
RGBrgb(168, 119, 253)
HSLhsl(262, 97%, 73%)
HSVhsv(262, 53%, 99%)
CMYKcmyk(33.6%, 53%, 0%, 0.8%)
CIE-LABlab(60.44, 46.69, -60.19)
CIE-LCHlch(60.44, 76.18, 307.80°)
OKLaboklab(67.84% 0.0903 -0.1702)
OKLCHoklch(67.84% 0.193 297.9)
XYZxyz(40.4705, 28.6098, 96.2995)
Luminance0.2861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A877FD #CCFD77
analogous
#7789FD #A877FD #EB77FD
triadic
#A877FD #FDA877 #77FDA8
tetradic
#A877FD #FD7789 #CCFD77 #77FDEB
square
#A877FD #FD7789 #CCFD77 #77FDEB
split-complementary
#A877FD #FDEB77 #89FD77
monochromatic
#5C04F6 #813BFC #A877FD #CFB3FE #ECE1FF

Accessibility & contrast

On white

3.12
#A877FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#A877FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A877FD
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A877FD#FFFFFF#000000##000000
##A877FD1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4192FF
Deuteranopia (green-blind)
#4F90FA
Tritanopia (blue-blind)
#9592AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a877fd;
/* rgb */ color: rgb(168, 119, 253);
/* oklch */ color: oklch(67.8% 0.193 297.9);
Tailwind
colors: {
  custom: {
    50: '#c69fff',
    500: '#a877fd',
    950: '#000000',
  },
}
SCSS
$custom: #a877fd;
$custom-light: #c69fff;
$custom-dark: #000000;
JSON
{
  "hex": "#a877fd",
  "rgb": {
    "r": 168,
    "g": 119,
    "b": 253
  },
  "hsl": {
    "h": 261.94,
    "s": 97.101,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67838,
    "c": 0.19271,
    "h": 297.9
  },
  "luminance": 0.2861
}

Semantic roles & 50–950 ramp

primary
#A877FD
secondary
#EAF7D4
accent
#E60092
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A877FD

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

Preview Lab → · Contrast checker → · Palette generator →

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