#A879F9#A879F9

#A879F9 is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.9% C 0.185 H 298.3°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#A879F9
RGBrgb(168, 121, 249)
HSLhsl(262, 91%, 73%)
HSVhsv(262, 51%, 98%)
CMYKcmyk(32.5%, 51.4%, 0%, 2.4%)
CIE-LABlab(60.64, 44.60, -57.66)
CIE-LCHlch(60.64, 72.90, 307.72°)
OKLaboklab(67.92% 0.0876 -0.1628)
OKLCHoklch(67.92% 0.185 298.3)
XYZxyz(40.0805, 28.8387, 93.0590)
Luminance0.2884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A879F9 #CAF979
analogous
#798AF9 #A879F9 #E879F9
triadic
#A879F9 #F9A879 #79F9A8
tetradic
#A879F9 #F9798A #CAF979 #79F9E8
square
#A879F9 #F9798A #CAF979 #79F9E8
split-complementary
#A879F9 #F9E879 #8AF979
monochromatic
#5E0BED #823EF6 #A879F9 #CEB4FC #ECE2FE

Accessibility & contrast

On white

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

On black

6.77
#A879F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A879F9
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A879F9#FFFFFF#000000##000000
##A879F91.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4992FD
Deuteranopia (green-blind)
#5691F6
Tritanopia (blue-blind)
#9792AE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a879f9;
/* rgb */ color: rgb(168, 121, 249);
/* oklch */ color: oklch(67.9% 0.185 298.3);
Tailwind
colors: {
  custom: {
    50: '#c5a1fc',
    500: '#a879f9',
    950: '#000000',
  },
}
SCSS
$custom: #a879f9;
$custom-light: #c5a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a879f9",
  "rgb": {
    "r": 168,
    "g": 121,
    "b": 249
  },
  "hsl": {
    "h": 262.031,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67916,
    "c": 0.1849,
    "h": 298.3
  },
  "luminance": 0.28839
}

Semantic roles & 50–950 ramp

primary
#A879F9
secondary
#EAF6D5
accent
#E60091
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A879F9

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

Preview Lab → · Contrast checker → · Palette generator →

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