#A879EF#A879EF

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

Color values

HEX#A879EF
RGBrgb(168, 121, 239)
HSLhsl(264, 79%, 71%)
HSVhsv(264, 49%, 94%)
CMYKcmyk(29.7%, 49.4%, 0%, 6.3%)
CIE-LABlab(60.10, 42.14, -53.00)
CIE-LCHlch(60.10, 67.71, 308.49°)
OKLaboklab(67.34% 0.0868 -0.1492)
OKLCHoklch(67.34% 0.173 300.2)
XYZxyz(38.5622, 28.2314, 85.0622)
Luminance0.2823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A879EF #C0EF79
analogous
#7985EF #A879EF #E379EF
triadic
#A879EF #EFA879 #79EFA8
tetradic
#A879EF #EF7985 #C0EF79 #79EFE3
square
#A879EF #EF7985 #C0EF79 #79EFE3
split-complementary
#A879EF #EFE379 #85EF79
monochromatic
#6419D4 #8542E8 #A879EF #CBB0F6 #EDE4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A879EF#FFFFFF#000000##000000
##A879EF1.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)
#5290F3
Deuteranopia (green-blind)
#5E90EC
Tritanopia (blue-blind)
#9A8FA9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a879ef;
/* rgb */ color: rgb(168, 121, 239);
/* oklch */ color: oklch(67.3% 0.173 300.2);
Tailwind
colors: {
  custom: {
    50: '#c5a1f5',
    500: '#a879ef',
    950: '#000000',
  },
}
SCSS
$custom: #a879ef;
$custom-light: #c5a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a879ef",
  "rgb": {
    "r": 168,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 263.898,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67338,
    "c": 0.1726,
    "h": 300.2
  },
  "luminance": 0.28232
}

Semantic roles & 50–950 ramp

primary
#A879EF
secondary
#E5F2D2
accent
#DB0B88
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130F17
muted
#827E85

Preview Lab

Preview with #A879EF

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

Preview Lab → · Contrast checker → · Palette generator →

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