#A879EB#A879EB

#A879EB is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.1% C 0.168 H 301.0°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A879EB
RGBrgb(168, 121, 235)
HSLhsl(265, 74%, 70%)
HSVhsv(265, 49%, 92%)
CMYKcmyk(28.5%, 48.5%, 0%, 7.8%)
CIE-LABlab(59.89, 41.17, -51.11)
CIE-LCHlch(59.89, 65.63, 308.85°)
OKLaboklab(67.11% 0.0864 -0.1437)
OKLCHoklch(67.11% 0.168 301)
XYZxyz(37.9778, 27.9976, 81.9844)
Luminance0.2800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A879EB #BCEB79
analogous
#7983EB #A879EB #E179EB
triadic
#A879EB #EBA879 #79EBA8
tetradic
#A879EB #EB7983 #BCEB79 #79EBE1
square
#A879EB #EB7983 #BCEB79 #79EBE1
split-complementary
#A879EB #EBE179 #83EB79
monochromatic
#661ECB #8544E3 #A879EB #CBAEF3 #EDE4FB

Accessibility & contrast

On white

3.18
#A879EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#A879EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A879EB
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A879EB#FFFFFF#000000##000000
##A879EB1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590EF
Deuteranopia (green-blind)
#6190E8
Tritanopia (blue-blind)
#9B8EA7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a879eb;
/* rgb */ color: rgb(168, 121, 235);
/* oklch */ color: oklch(67.1% 0.168 301.0);
Tailwind
colors: {
  custom: {
    50: '#c5a1f2',
    500: '#a879eb',
    950: '#000000',
  },
}
SCSS
$custom: #a879eb;
$custom-light: #c5a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a879eb",
  "rgb": {
    "r": 168,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 264.737,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67113,
    "c": 0.16766,
    "h": 301
  },
  "luminance": 0.27998
}

Semantic roles & 50–950 ramp

primary
#A879EB
secondary
#E3F0D0
accent
#D60F84
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #A879EB

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

Preview Lab → · Contrast checker → · Palette generator →

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