#A879F8#A879F8

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

Color values

HEX#A879F8
RGBrgb(168, 121, 248)
HSLhsl(262, 90%, 72%)
HSVhsv(262, 51%, 97%)
CMYKcmyk(32.3%, 51.2%, 0%, 2.7%)
CIE-LABlab(60.58, 44.36, -57.20)
CIE-LCHlch(60.58, 72.38, 307.79°)
OKLaboklab(67.86% 0.0875 -0.1615)
OKLCHoklch(67.86% 0.184 298.5)
XYZxyz(39.9250, 28.7765, 92.2397)
Luminance0.2878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A879F8 #C9F879
analogous
#7989F8 #A879F8 #E879F8
triadic
#A879F8 #F8A879 #79F8A8
tetradic
#A879F8 #F87989 #C9F879 #79F8E8
square
#A879F8 #F87989 #C9F879 #79F8E8
split-complementary
#A879F8 #F8E879 #89F879
monochromatic
#5E0CEA #823FF5 #A879F8 #CEB3FB #ECE2FD

Accessibility & contrast

On white

3.11
#A879F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#A879F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A879F8
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A879F8#FFFFFF#000000##000000
##A879F81.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A92FC
Deuteranopia (green-blind)
#5791F5
Tritanopia (blue-blind)
#9792AD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a879f8;
/* rgb */ color: rgb(168, 121, 248);
/* oklch */ color: oklch(67.9% 0.184 298.5);
Tailwind
colors: {
  custom: {
    50: '#c5a1fb',
    500: '#a879f8',
    950: '#000000',
  },
}
SCSS
$custom: #a879f8;
$custom-light: #c5a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a879f8",
  "rgb": {
    "r": 168,
    "g": 121,
    "b": 248
  },
  "hsl": {
    "h": 262.205,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67857,
    "c": 0.18367,
    "h": 298.5
  },
  "luminance": 0.28777
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A879F8

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

Preview Lab → · Contrast checker → · Palette generator →

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