#A877EE#A877EE

#A877EE is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.0% C 0.174 H 300.8°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A877EE
RGBrgb(168, 119, 238)
HSLhsl(265, 78%, 70%)
HSVhsv(265, 50%, 93%)
CMYKcmyk(29.4%, 50%, 0%, 6.7%)
CIE-LABlab(59.61, 43.00, -53.22)
CIE-LCHlch(59.61, 68.42, 308.94°)
OKLaboklab(66.96% 0.0893 -0.1498)
OKLCHoklch(66.96% 0.174 300.8)
XYZxyz(38.1743, 27.6914, 84.2062)
Luminance0.2769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A877EE #BDEE77
analogous
#7781EE #A877EE #E477EE
triadic
#A877EE #EEA877 #77EEA8
tetradic
#A877EE #EE7781 #BDEE77 #77EEE4
square
#A877EE #EE7781 #BDEE77 #77EEE4
split-complementary
#A877EE #EEE477 #81EE77
monochromatic
#651AD1 #8541E7 #A877EE #CBADF5 #EEE4FC

Accessibility & contrast

On white

3.21
#A877EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#A877EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A877EE
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A877EE#FFFFFF#000000##000000
##A877EE1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8FF2
Deuteranopia (green-blind)
#5C8FEB
Tritanopia (blue-blind)
#9A8DA8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a877ee;
/* rgb */ color: rgb(168, 119, 238);
/* oklch */ color: oklch(67.0% 0.174 300.8);
Tailwind
colors: {
  custom: {
    50: '#c59ff4',
    500: '#a877ee',
    950: '#000000',
  },
}
SCSS
$custom: #a877ee;
$custom-light: #c59ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#a877ee",
  "rgb": {
    "r": 168,
    "g": 119,
    "b": 238
  },
  "hsl": {
    "h": 264.706,
    "s": 77.778,
    "l": 70
  },
  "oklch": {
    "l": 0.66957,
    "c": 0.17443,
    "h": 300.8
  },
  "luminance": 0.27692
}

Semantic roles & 50–950 ramp

primary
#A877EE
secondary
#E3F1D0
accent
#DA0B85
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #A877EE

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

Preview Lab → · Contrast checker → · Palette generator →

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