#A877E6#A877E6

#A877E6 is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.5% C 0.165 H 302.5°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A877E6
RGBrgb(168, 119, 230)
HSLhsl(266, 69%, 68%)
HSVhsv(266, 48%, 90%)
CMYKcmyk(27%, 48.3%, 0%, 9.8%)
CIE-LABlab(59.19, 41.08, -49.44)
CIE-LCHlch(59.19, 64.28, 309.72°)
OKLaboklab(66.51% 0.0886 -0.1388)
OKLCHoklch(66.51% 0.165 302.5)
XYZxyz(37.0250, 27.2316, 78.1532)
Luminance0.2723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A877E6 #B5E677
analogous
#777DE6 #A877E6 #DF77E6
triadic
#A877E6 #E6A877 #77E6A8
tetradic
#A877E6 #E6777D #B5E677 #77E6DF
square
#A877E6 #E6777D #B5E677 #77E6DF
split-complementary
#A877E6 #E6DF77 #7DE677
monochromatic
#6823BF #8743DC #A877E6 #C9ABF0 #EADEF9

Accessibility & contrast

On white

3.26
#A877E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#A877E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A877E6
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A877E6#FFFFFF#000000##000000
##A877E61.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#558DEA
Deuteranopia (green-blind)
#628EE3
Tritanopia (blue-blind)
#9D8BA4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a877e6;
/* rgb */ color: rgb(168, 119, 230);
/* oklch */ color: oklch(66.5% 0.165 302.5);
Tailwind
colors: {
  custom: {
    50: '#c49fee',
    500: '#a877e6',
    950: '#000000',
  },
}
SCSS
$custom: #a877e6;
$custom-light: #c49fee;
$custom-dark: #000000;
JSON
{
  "hex": "#a877e6",
  "rgb": {
    "r": 168,
    "g": 119,
    "b": 230
  },
  "hsl": {
    "h": 266.486,
    "s": 68.944,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66507,
    "c": 0.16462,
    "h": 302.5
  },
  "luminance": 0.27232
}

Semantic roles & 50–950 ramp

primary
#A877E6
secondary
#DEEDCC
accent
#D1157E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A877E6

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

Preview Lab → · Contrast checker → · Palette generator →

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