#A877ED#A877ED

#A877ED is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.9% C 0.173 H 301.0°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#A877ED
RGBrgb(168, 119, 237)
HSLhsl(265, 77%, 70%)
HSVhsv(265, 50%, 93%)
CMYKcmyk(29.1%, 49.8%, 0%, 7.1%)
CIE-LABlab(59.56, 42.76, -52.75)
CIE-LCHlch(59.56, 67.90, 309.03°)
OKLaboklab(66.9% 0.0892 -0.1484)
OKLCHoklch(66.9% 0.173 301)
XYZxyz(38.0278, 27.6328, 83.4346)
Luminance0.2763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A877ED #BCED77
analogous
#7781ED #A877ED #E377ED
triadic
#A877ED #EDA877 #77EDA8
tetradic
#A877ED #ED7781 #BCED77 #77EDE3
square
#A877ED #ED7781 #BCED77 #77EDE3
split-complementary
#A877ED #EDE377 #81ED77
monochromatic
#661BCE #8541E6 #A877ED #CBADF4 #EDE3FB

Accessibility & contrast

On white

3.22
#A877ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#A877ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A877ED
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A877ED#FFFFFF#000000##000000
##A877ED1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#508FF1
Deuteranopia (green-blind)
#5D8FEA
Tritanopia (blue-blind)
#9B8DA7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a877ed;
/* rgb */ color: rgb(168, 119, 237);
/* oklch */ color: oklch(66.9% 0.173 301.0);
Tailwind
colors: {
  custom: {
    50: '#c59ff3',
    500: '#a877ed',
    950: '#000000',
  },
}
SCSS
$custom: #a877ed;
$custom-light: #c59ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#a877ed",
  "rgb": {
    "r": 168,
    "g": 119,
    "b": 237
  },
  "hsl": {
    "h": 264.915,
    "s": 76.623,
    "l": 69.804
  },
  "oklch": {
    "l": 0.669,
    "c": 0.1732,
    "h": 301
  },
  "luminance": 0.27633
}

Semantic roles & 50–950 ramp

primary
#A877ED
secondary
#E3F1CF
accent
#D90D84
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #A877ED

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

Preview Lab → · Contrast checker → · Palette generator →

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