#A877DB#A877DB

#A877DB is a light, vivid violet. Relative luminance 0.266; OKLCH L 65.9% C 0.151 H 305.2°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A877DB
RGBrgb(168, 119, 219)
HSLhsl(269, 58%, 66%)
HSVhsv(269, 46%, 86%)
CMYKcmyk(23.3%, 45.7%, 0%, 14.1%)
CIE-LABlab(58.63, 38.48, -44.16)
CIE-LCHlch(58.63, 58.58, 311.07°)
OKLaboklab(65.91% 0.0872 -0.1234)
OKLCHoklch(65.91% 0.151 305.2)
XYZxyz(35.5288, 26.6332, 70.2731)
Luminance0.2663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A877DB #AADB77
analogous
#7778DB #A877DB #DA77DB
triadic
#A877DB #DBA877 #77DBA8
tetradic
#A877DB #DB7778 #AADB77 #77DBDA
square
#A877DB #DB7778 #AADB77 #77DBDA
split-complementary
#A877DB #DBDA77 #78DB77
monochromatic
#6B2DAA #8947CE #A877DB #C7A7E8 #E6D8F5

Accessibility & contrast

On white

3.32
#A877DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#A877DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A877DB
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A877DB#FFFFFF#000000##000000
##A877DB1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8BDF
Deuteranopia (green-blind)
#698DD8
Tritanopia (blue-blind)
#A0889F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a877db;
/* rgb */ color: rgb(168, 119, 219);
/* oklch */ color: oklch(65.9% 0.151 305.2);
Tailwind
colors: {
  custom: {
    50: '#c49fe6',
    500: '#a877db',
    950: '#000000',
  },
}
SCSS
$custom: #a877db;
$custom-light: #c49fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#a877db",
  "rgb": {
    "r": 168,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 269.4,
    "s": 58.14,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65912,
    "c": 0.1511,
    "h": 305.2
  },
  "luminance": 0.26633
}

Semantic roles & 50–950 ramp

primary
#A877DB
secondary
#D7E7C7
accent
#C62074
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A877DB

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

Preview Lab → · Contrast checker → · Palette generator →

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