#A877CC#A877CC

#A877CC is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.1% C 0.133 H 309.7°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A877CC
RGBrgb(168, 119, 204)
HSLhsl(275, 45%, 63%)
HSVhsv(275, 42%, 80%)
CMYKcmyk(17.6%, 41.7%, 0%, 20%)
CIE-LABlab(57.92, 35.06, -36.82)
CIE-LCHlch(57.92, 50.85, 313.59°)
OKLaboklab(65.15% 0.0847 -0.1022)
OKLCHoklch(65.15% 0.133 309.7)
XYZxyz(33.6424, 25.8786, 60.3378)
Luminance0.2588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A877CC #9BCC77
analogous
#7D77CC #A877CC #CC77C6
triadic
#A877CC #CCA877 #77CCA8
tetradic
#A877CC #CC7D77 #9BCC77 #77C6CC
square
#A877CC #CC7D77 #9BCC77 #77C6CC
split-complementary
#A877CC #C6CC77 #77CC7D
monochromatic
#6B3792 #8C4ABB #A877CC #C4A4DD #E1D0ED

Accessibility & contrast

On white

3.40
#A877CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#A877CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A877CC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A877CC#FFFFFF#000000##000000
##A877CC1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6589CF
Deuteranopia (green-blind)
#718CCA
Tritanopia (blue-blind)
#A48498
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a877cc;
/* rgb */ color: rgb(168, 119, 204);
/* oklch */ color: oklch(65.1% 0.133 309.7);
Tailwind
colors: {
  custom: {
    50: '#c39fdc',
    500: '#a877cc',
    950: '#000000',
  },
}
SCSS
$custom: #a877cc;
$custom-light: #c39fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a877cc",
  "rgb": {
    "r": 168,
    "g": 119,
    "b": 204
  },
  "hsl": {
    "h": 274.588,
    "s": 45.455,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65145,
    "c": 0.13273,
    "h": 309.7
  },
  "luminance": 0.25878
}

Semantic roles & 50–950 ramp

primary
#A877CC
secondary
#CDDFC0
accent
#B92D68
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #A877CC

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

Preview Lab → · Contrast checker → · Palette generator →

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