#A877FA#A877FA

#A877FA is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.7% C 0.189 H 298.5°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#A877FA
RGBrgb(168, 119, 250)
HSLhsl(262, 93%, 72%)
HSVhsv(262, 52%, 98%)
CMYKcmyk(32.8%, 52.4%, 0%, 2%)
CIE-LABlab(60.27, 45.95, -58.81)
CIE-LCHlch(60.27, 74.63, 308.00°)
OKLaboklab(67.66% 0.0902 -0.1662)
OKLCHoklch(67.66% 0.189 298.5)
XYZxyz(39.9964, 28.4202, 93.8024)
Luminance0.2842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A877FA #C9FA77
analogous
#7787FA #A877FA #EA77FA
triadic
#A877FA #FAA877 #77FAA8
tetradic
#A877FA #FA7787 #C9FA77 #77FAEA
square
#A877FA #FA7787 #C9FA77 #77FAEA
split-complementary
#A877FA #FAEA77 #87FA77
monochromatic
#5E09EE #823CF8 #A877FA #CEB2FC #ECE1FE

Accessibility & contrast

On white

3.14
#A877FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#A877FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A877FA
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A877FA#FFFFFF#000000##000000
##A877FA1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4491FE
Deuteranopia (green-blind)
#5290F7
Tritanopia (blue-blind)
#9691AD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a877fa;
/* rgb */ color: rgb(168, 119, 250);
/* oklch */ color: oklch(67.7% 0.189 298.5);
Tailwind
colors: {
  custom: {
    50: '#c69ffd',
    500: '#a877fa',
    950: '#000000',
  },
}
SCSS
$custom: #a877fa;
$custom-light: #c69ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#a877fa",
  "rgb": {
    "r": 168,
    "g": 119,
    "b": 250
  },
  "hsl": {
    "h": 262.443,
    "s": 92.908,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67658,
    "c": 0.18907,
    "h": 298.5
  },
  "luminance": 0.28421
}

Semantic roles & 50–950 ramp

primary
#A877FA
secondary
#EAF6D5
accent
#E60090
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A877FA

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

Preview Lab → · Contrast checker → · Palette generator →

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