#A877CD#A877CD

#A877CD is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.2% C 0.134 H 309.3°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A877CD
RGBrgb(168, 119, 205)
HSLhsl(274, 46%, 64%)
HSVhsv(274, 42%, 80%)
CMYKcmyk(18%, 42%, 0%, 19.6%)
CIE-LABlab(57.97, 35.28, -37.32)
CIE-LCHlch(57.97, 51.36, 313.39°)
OKLaboklab(65.2% 0.0849 -0.1036)
OKLCHoklch(65.2% 0.134 309.3)
XYZxyz(33.7627, 25.9267, 60.9715)
Luminance0.2593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A877CD #9CCD77
analogous
#7D77CD #A877CD #CD77C7
triadic
#A877CD #CDA877 #77CDA8
tetradic
#A877CD #CD7D77 #9CCD77 #77C7CD
square
#A877CD #CD7D77 #9CCD77 #77C7CD
split-complementary
#A877CD #C7CD77 #77CD7D
monochromatic
#6B3693 #8B4ABD #A877CD #C5A4DD #E1D0EE

Accessibility & contrast

On white

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

On black

6.19
#A877CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A877CD
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A877CD#FFFFFF#000000##000000
##A877CD1.003.406.196.19
#FFFFFF3.401.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6489D0
Deuteranopia (green-blind)
#708CCB
Tritanopia (blue-blind)
#A38498
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a877cd;
/* rgb */ color: rgb(168, 119, 205);
/* oklch */ color: oklch(65.2% 0.134 309.3);
Tailwind
colors: {
  custom: {
    50: '#c39fdc',
    500: '#a877cd',
    950: '#000000',
  },
}
SCSS
$custom: #a877cd;
$custom-light: #c39fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a877cd",
  "rgb": {
    "r": 168,
    "g": 119,
    "b": 205
  },
  "hsl": {
    "h": 274.186,
    "s": 46.237,
    "l": 63.529
  },
  "oklch": {
    "l": 0.65195,
    "c": 0.13395,
    "h": 309.3
  },
  "luminance": 0.25926
}

Semantic roles & 50–950 ramp

primary
#A877CD
secondary
#CEDFC1
accent
#B92C69
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #A877CD

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

Preview Lab → · Contrast checker → · Palette generator →

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