#A877EF#A877EF

#A877EF is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.0% C 0.176 H 300.6°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#A877EF
RGBrgb(168, 119, 239)
HSLhsl(265, 79%, 70%)
HSVhsv(265, 50%, 94%)
CMYKcmyk(29.7%, 50.2%, 0%, 6.3%)
CIE-LABlab(59.66, 43.25, -53.69)
CIE-LCHlch(59.66, 68.94, 308.85°)
OKLaboklab(67.01% 0.0894 -0.1512)
OKLCHoklch(67.01% 0.176 300.6)
XYZxyz(38.3216, 27.7503, 84.9820)
Luminance0.2775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A877EF #BEEF77
analogous
#7782EF #A877EF #E477EF
triadic
#A877EF #EFA877 #77EFA8
tetradic
#A877EF #EF7782 #BEEF77 #77EFE4
square
#A877EF #EF7782 #BEEF77 #77EFE4
split-complementary
#A877EF #EFE477 #82EF77
monochromatic
#6519D3 #8540E9 #A877EF #CBAEF5 #EDE4FC

Accessibility & contrast

On white

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

On black

6.55
#A877EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A877EF
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A877EF#FFFFFF#000000##000000
##A877EF1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a877ef;
/* rgb */ color: rgb(168, 119, 239);
/* oklch */ color: oklch(67.0% 0.176 300.6);
Tailwind
colors: {
  custom: {
    50: '#c59ff5',
    500: '#a877ef',
    950: '#000000',
  },
}
SCSS
$custom: #a877ef;
$custom-light: #c59ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#a877ef",
  "rgb": {
    "r": 168,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 264.5,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67014,
    "c": 0.17565,
    "h": 300.6
  },
  "luminance": 0.2775
}

Semantic roles & 50–950 ramp

primary
#A877EF
secondary
#E4F2D0
accent
#DB0A86
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130F17
muted
#827E85

Preview Lab

Preview with #A877EF

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

Preview Lab → · Contrast checker → · Palette generator →

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