#A877DF#A877DF

#A877DF is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.1% C 0.156 H 304.2°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A877DF
RGBrgb(168, 119, 223)
HSLhsl(268, 62%, 67%)
HSVhsv(268, 47%, 87%)
CMYKcmyk(24.7%, 46.6%, 0%, 12.5%)
CIE-LABlab(58.83, 39.42, -46.09)
CIE-LCHlch(58.83, 60.65, 310.54°)
OKLaboklab(66.13% 0.0877 -0.129)
OKLCHoklch(66.13% 0.156 304.2)
XYZxyz(36.0617, 26.8463, 73.0798)
Luminance0.2685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A877DF #AEDF77
analogous
#777ADF #A877DF #DC77DF
triadic
#A877DF #DFA877 #77DFA8
tetradic
#A877DF #DF777A #AEDF77 #77DFDC
square
#A877DF #DF777A #AEDF77 #77DFDC
split-complementary
#A877DF #DFDC77 #7ADF77
monochromatic
#6A2AB2 #8845D3 #A877DF #C8A9EB #E7DAF6

Accessibility & contrast

On white

3.30
#A877DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#A877DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A877DF
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A877DF#FFFFFF#000000##000000
##A877DF1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8CE3
Deuteranopia (green-blind)
#678EDC
Tritanopia (blue-blind)
#9F89A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a877df;
/* rgb */ color: rgb(168, 119, 223);
/* oklch */ color: oklch(66.1% 0.156 304.2);
Tailwind
colors: {
  custom: {
    50: '#c49fe9',
    500: '#a877df',
    950: '#000000',
  },
}
SCSS
$custom: #a877df;
$custom-light: #c49fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#a877df",
  "rgb": {
    "r": 168,
    "g": 119,
    "b": 223
  },
  "hsl": {
    "h": 268.269,
    "s": 61.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66125,
    "c": 0.15601,
    "h": 304.2
  },
  "luminance": 0.26846
}

Semantic roles & 50–950 ramp

primary
#A877DF
secondary
#DAE9C8
accent
#CA1C78
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A877DF

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

Preview Lab → · Contrast checker → · Palette generator →

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