#A877F9#A877F9

#A877F9 is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.6% C 0.188 H 298.7°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A877F9
RGBrgb(168, 119, 249)
HSLhsl(263, 92%, 72%)
HSVhsv(263, 52%, 98%)
CMYKcmyk(32.5%, 52.2%, 0%, 2.4%)
CIE-LABlab(60.21, 45.70, -58.35)
CIE-LCHlch(60.21, 74.12, 308.07°)
OKLaboklab(67.6% 0.0901 -0.1648)
OKLCHoklch(67.6% 0.188 298.7)
XYZxyz(39.8400, 28.3576, 92.9788)
Luminance0.2836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A877F9 #C8F977
analogous
#7787F9 #A877F9 #E977F9
triadic
#A877F9 #F9A877 #77F9A8
tetradic
#A877F9 #F97787 #C8F977 #77F9E9
square
#A877F9 #F97787 #C8F977 #77F9E9
split-complementary
#A877F9 #F9E977 #87F977
monochromatic
#5F0AEB #833CF6 #A877F9 #CDB2FC #ECE2FE

Accessibility & contrast

On white

3.15
#A877F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#A877F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A877F9
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A877F9#FFFFFF#000000##000000
##A877F91.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4591FD
Deuteranopia (green-blind)
#5390F6
Tritanopia (blue-blind)
#9790AD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a877f9;
/* rgb */ color: rgb(168, 119, 249);
/* oklch */ color: oklch(67.6% 0.188 298.7);
Tailwind
colors: {
  custom: {
    50: '#c59ffc',
    500: '#a877f9',
    950: '#000000',
  },
}
SCSS
$custom: #a877f9;
$custom-light: #c59ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#a877f9",
  "rgb": {
    "r": 168,
    "g": 119,
    "b": 249
  },
  "hsl": {
    "h": 262.615,
    "s": 91.549,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67598,
    "c": 0.18785,
    "h": 298.7
  },
  "luminance": 0.28358
}

Semantic roles & 50–950 ramp

primary
#A877F9
secondary
#EAF6D5
accent
#E6008F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A877F9

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

Preview Lab → · Contrast checker → · Palette generator →

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