#A877F6#A877F6

#A877F6 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.4% C 0.184 H 299.2°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A877F6
RGBrgb(168, 119, 246)
HSLhsl(263, 88%, 72%)
HSVhsv(263, 52%, 96%)
CMYKcmyk(31.7%, 51.6%, 0%, 3.5%)
CIE-LABlab(60.04, 44.96, -56.96)
CIE-LCHlch(60.04, 72.56, 308.29°)
OKLaboklab(67.42% 0.0899 -0.1608)
OKLCHoklch(67.42% 0.184 299.2)
XYZxyz(39.3758, 28.1720, 90.5342)
Luminance0.2817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A877F6 #C5F677
analogous
#7786F6 #A877F6 #E877F6
triadic
#A877F6 #F6A877 #77F6A8
tetradic
#A877F6 #F67786 #C5F677 #77F6E8
square
#A877F6 #F67786 #C5F677 #77F6E8
split-complementary
#A877F6 #F6E877 #86F677
monochromatic
#610FE4 #833EF2 #A877F6 #CDB0FA #EDE2FD

Accessibility & contrast

On white

3.17
#A877F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#A877F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A877F6
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A877F6#FFFFFF#000000##000000
##A877F61.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4891FA
Deuteranopia (green-blind)
#5690F3
Tritanopia (blue-blind)
#9890AB
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a877f6;
/* rgb */ color: rgb(168, 119, 246);
/* oklch */ color: oklch(67.4% 0.184 299.2);
Tailwind
colors: {
  custom: {
    50: '#c59ffa',
    500: '#a877f6',
    950: '#000000',
  },
}
SCSS
$custom: #a877f6;
$custom-light: #c59ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#a877f6",
  "rgb": {
    "r": 168,
    "g": 119,
    "b": 246
  },
  "hsl": {
    "h": 263.15,
    "s": 87.586,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67421,
    "c": 0.1842,
    "h": 299.2
  },
  "luminance": 0.28172
}

Semantic roles & 50–950 ramp

primary
#A877F6
secondary
#E8F5D4
accent
#E4018D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A877F6

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

Preview Lab → · Contrast checker → · Palette generator →

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