#A877CB#A877CB

#A877CB is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.1% C 0.132 H 310.0°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A877CB
RGBrgb(168, 119, 203)
HSLhsl(275, 45%, 63%)
HSVhsv(275, 41%, 80%)
CMYKcmyk(17.2%, 41.4%, 0%, 20.4%)
CIE-LABlab(57.88, 34.84, -36.33)
CIE-LCHlch(57.88, 50.33, 313.80°)
OKLaboklab(65.1% 0.0846 -0.1007)
OKLCHoklch(65.1% 0.132 310)
XYZxyz(33.5228, 25.8308, 59.7082)
Luminance0.2583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A877CB #9ACB77
analogous
#7E77CB #A877CB #CB77C4
triadic
#A877CB #CBA877 #77CBA8
tetradic
#A877CB #CB7E77 #9ACB77 #77C4CB
square
#A877CB #CB7E77 #9ACB77 #77C4CB
split-complementary
#A877CB #C4CB77 #77CB7E
monochromatic
#6B3790 #8C4BBA #A877CB #C4A3DC #E1D0ED

Accessibility & contrast

On white

3.41
#A877CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#A877CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A877CB
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A877CB#FFFFFF#000000##000000
##A877CB1.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6589CE
Deuteranopia (green-blind)
#718CC9
Tritanopia (blue-blind)
#A48497
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a877cb;
/* rgb */ color: rgb(168, 119, 203);
/* oklch */ color: oklch(65.1% 0.132 310.0);
Tailwind
colors: {
  custom: {
    50: '#c39fdb',
    500: '#a877cb',
    950: '#000000',
  },
}
SCSS
$custom: #a877cb;
$custom-light: #c39fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a877cb",
  "rgb": {
    "r": 168,
    "g": 119,
    "b": 203
  },
  "hsl": {
    "h": 275,
    "s": 44.681,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65096,
    "c": 0.13152,
    "h": 310
  },
  "luminance": 0.2583
}

Semantic roles & 50–950 ramp

primary
#A877CB
secondary
#CCDEC0
accent
#B82E67
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #A877CB

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

Preview Lab → · Contrast checker → · Palette generator →

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