#A879FF#A879FF

#A879FF is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.3% C 0.192 H 297.2°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#A879FF
RGBrgb(168, 121, 255)
HSLhsl(261, 100%, 74%)
HSVhsv(261, 53%, 100%)
CMYKcmyk(34.1%, 52.5%, 0%, 0%)
CIE-LABlab(60.97, 46.10, -60.43)
CIE-LCHlch(60.97, 76.01, 307.34°)
OKLaboklab(68.27% 0.088 -0.1709)
OKLCHoklch(68.27% 0.192 297.2)
XYZxyz(41.0313, 29.2190, 98.0664)
Luminance0.2922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A879FF #D0FF79
analogous
#798DFF #A879FF #EB79FF
triadic
#A879FF #FFA879 #79FFA8
tetradic
#A879FF #FF798D #D0FF79 #79FFEB
square
#A879FF #FF798D #D0FF79 #79FFEB
split-complementary
#A879FF #FFEB79 #8DFF79
monochromatic
#5900FE #803CFF #A879FF #D0B6FF #EBE0FF

Accessibility & contrast

On white

3.07
#A879FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#A879FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A879FF
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A879FF#FFFFFF#000000##000000
##A879FF1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4394FF
Deuteranopia (green-blind)
#5092FC
Tritanopia (blue-blind)
#9494B1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a879ff;
/* rgb */ color: rgb(168, 121, 255);
/* oklch */ color: oklch(68.3% 0.192 297.2);
Tailwind
colors: {
  custom: {
    50: '#c6a1ff',
    500: '#a879ff',
    950: '#000000',
  },
}
SCSS
$custom: #a879ff;
$custom-light: #c6a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a879ff",
  "rgb": {
    "r": 168,
    "g": 121,
    "b": 255
  },
  "hsl": {
    "h": 261.045,
    "s": 100,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68273,
    "c": 0.19224,
    "h": 297.2
  },
  "luminance": 0.2922
}

Semantic roles & 50–950 ramp

primary
#A879FF
secondary
#EBF7D4
accent
#E60095
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A879FF

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

Preview Lab → · Contrast checker → · Palette generator →

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