#A877E7#A877E7

#A877E7 is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.6% C 0.166 H 302.3°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A877E7
RGBrgb(168, 119, 231)
HSLhsl(266, 70%, 69%)
HSVhsv(266, 48%, 91%)
CMYKcmyk(27.3%, 48.5%, 0%, 9.4%)
CIE-LABlab(59.24, 41.32, -49.91)
CIE-LCHlch(59.24, 64.79, 309.62°)
OKLaboklab(66.56% 0.0887 -0.1402)
OKLCHoklch(66.56% 0.166 302.3)
XYZxyz(37.1659, 27.2880, 78.8949)
Luminance0.2729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A877E7 #B6E777
analogous
#777EE7 #A877E7 #E077E7
triadic
#A877E7 #E7A877 #77E7A8
tetradic
#A877E7 #E7777E #B6E777 #77E7E0
square
#A877E7 #E7777E #B6E777 #77E7E0
split-complementary
#A877E7 #E7E077 #7EE777
monochromatic
#6822C1 #8743DE #A877E7 #C9ABF0 #EBDFF9

Accessibility & contrast

On white

3.25
#A877E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#A877E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A877E7
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A877E7#FFFFFF#000000##000000
##A877E71.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#558EEB
Deuteranopia (green-blind)
#618EE4
Tritanopia (blue-blind)
#9C8BA4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a877e7;
/* rgb */ color: rgb(168, 119, 231);
/* oklch */ color: oklch(66.6% 0.166 302.3);
Tailwind
colors: {
  custom: {
    50: '#c49fef',
    500: '#a877e7',
    950: '#000000',
  },
}
SCSS
$custom: #a877e7;
$custom-light: #c49fef;
$custom-dark: #000000;
JSON
{
  "hex": "#a877e7",
  "rgb": {
    "r": 168,
    "g": 119,
    "b": 231
  },
  "hsl": {
    "h": 266.25,
    "s": 70,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66563,
    "c": 0.16585,
    "h": 302.3
  },
  "luminance": 0.27288
}

Semantic roles & 50–950 ramp

primary
#A877E7
secondary
#DFEECC
accent
#D2147F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A877E7

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

Preview Lab → · Contrast checker → · Palette generator →

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