#A879FA#A879FA

#A879FA is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.0% C 0.186 H 298.1°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A879FA
RGBrgb(168, 121, 250)
HSLhsl(262, 93%, 73%)
HSVhsv(262, 52%, 98%)
CMYKcmyk(32.8%, 51.6%, 0%, 2%)
CIE-LABlab(60.69, 44.85, -58.13)
CIE-LCHlch(60.69, 73.42, 307.66°)
OKLaboklab(67.97% 0.0877 -0.1642)
OKLCHoklch(67.97% 0.186 298.1)
XYZxyz(40.2369, 28.9013, 93.8826)
Luminance0.2890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A879FA #CBFA79
analogous
#798BFA #A879FA #E879FA
triadic
#A879FA #FAA879 #79FAA8
tetradic
#A879FA #FA798B #CBFA79 #79FAE8
square
#A879FA #FA798B #CBFA79 #79FAE8
split-complementary
#A879FA #FAE879 #8BFA79
monochromatic
#5D09F0 #823EF8 #A879FA #CEB4FC #ECE2FE

Accessibility & contrast

On white

3.10
#A879FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#A879FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A879FA
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A879FA#FFFFFF#000000##000000
##A879FA1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4893FE
Deuteranopia (green-blind)
#5591F7
Tritanopia (blue-blind)
#9692AE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a879fa;
/* rgb */ color: rgb(168, 121, 250);
/* oklch */ color: oklch(68.0% 0.186 298.1);
Tailwind
colors: {
  custom: {
    50: '#c5a1fc',
    500: '#a879fa',
    950: '#000000',
  },
}
SCSS
$custom: #a879fa;
$custom-light: #c5a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a879fa",
  "rgb": {
    "r": 168,
    "g": 121,
    "b": 250
  },
  "hsl": {
    "h": 261.86,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67975,
    "c": 0.18612,
    "h": 298.1
  },
  "luminance": 0.28902
}

Semantic roles & 50–950 ramp

primary
#A879FA
secondary
#EAF6D5
accent
#E60092
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A879FA

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

Preview Lab → · Contrast checker → · Palette generator →

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