#A877F3#A877F3

#A877F3 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.2% C 0.181 H 299.8°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A877F3
RGBrgb(168, 119, 243)
HSLhsl(264, 84%, 71%)
HSVhsv(264, 51%, 95%)
CMYKcmyk(30.9%, 51%, 0%, 4.7%)
CIE-LABlab(59.88, 44.22, -55.56)
CIE-LCHlch(59.88, 71.01, 308.52°)
OKLaboklab(67.25% 0.0897 -0.1567)
OKLCHoklch(67.25% 0.181 299.8)
XYZxyz(38.9191, 27.9893, 88.1287)
Luminance0.2799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A877F3 #C2F377
analogous
#7784F3 #A877F3 #E677F3
triadic
#A877F3 #F3A877 #77F3A8
tetradic
#A877F3 #F37784 #C2F377 #77F3E6
square
#A877F3 #F37784 #C2F377 #77F3E6
split-complementary
#A877F3 #F3E677 #84F377
monochromatic
#6313DC #843FEE #A877F3 #CCAFF8 #EDE3FD

Accessibility & contrast

On white

3.18
#A877F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#A877F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A877F3
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A877F3#FFFFFF#000000##000000
##A877F31.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B90F7
Deuteranopia (green-blind)
#588FF0
Tritanopia (blue-blind)
#998FAA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a877f3;
/* rgb */ color: rgb(168, 119, 243);
/* oklch */ color: oklch(67.2% 0.181 299.8);
Tailwind
colors: {
  custom: {
    50: '#c59ff8',
    500: '#a877f3',
    950: '#000000',
  },
}
SCSS
$custom: #a877f3;
$custom-light: #c59ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#a877f3",
  "rgb": {
    "r": 168,
    "g": 119,
    "b": 243
  },
  "hsl": {
    "h": 263.71,
    "s": 83.784,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67246,
    "c": 0.18055,
    "h": 299.8
  },
  "luminance": 0.2799
}

Semantic roles & 50–950 ramp

primary
#A877F3
secondary
#E6F3D2
accent
#E0058A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A877F3

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

Preview Lab → · Contrast checker → · Palette generator →

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