#A877F7#A877F7

#A877F7 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.5% C 0.185 H 299.0°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A877F7
RGBrgb(168, 119, 247)
HSLhsl(263, 89%, 72%)
HSVhsv(263, 52%, 97%)
CMYKcmyk(32%, 51.8%, 0%, 3.1%)
CIE-LABlab(60.10, 45.21, -57.42)
CIE-LCHlch(60.10, 73.08, 308.21°)
OKLaboklab(67.48% 0.09 -0.1621)
OKLCHoklch(67.48% 0.185 299)
XYZxyz(39.5297, 28.2335, 91.3447)
Luminance0.2823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A877F7 #C6F777
analogous
#7786F7 #A877F7 #E877F7
triadic
#A877F7 #F7A877 #77F7A8
tetradic
#A877F7 #F77786 #C6F777 #77F7E8
square
#A877F7 #F77786 #C6F777 #77F7E8
split-complementary
#A877F7 #F7E877 #86F777
monochromatic
#600EE6 #833DF4 #A877F7 #CDB1FA #EDE2FD

Accessibility & contrast

On white

3.16
#A877F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#A877F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A877F7
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A877F7#FFFFFF#000000##000000
##A877F71.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4791FB
Deuteranopia (green-blind)
#5590F4
Tritanopia (blue-blind)
#9790AC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a877f7;
/* rgb */ color: rgb(168, 119, 247);
/* oklch */ color: oklch(67.5% 0.185 299.0);
Tailwind
colors: {
  custom: {
    50: '#c59ffa',
    500: '#a877f7',
    950: '#000000',
  },
}
SCSS
$custom: #a877f7;
$custom-light: #c59ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#a877f7",
  "rgb": {
    "r": 168,
    "g": 119,
    "b": 247
  },
  "hsl": {
    "h": 262.969,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.6748,
    "c": 0.18542,
    "h": 299
  },
  "luminance": 0.28234
}

Semantic roles & 50–950 ramp

primary
#A877F7
secondary
#E9F5D5
accent
#E6008E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A877F7

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

Preview Lab → · Contrast checker → · Palette generator →

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