#A879FC#A879FC

#A879FC is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.1% C 0.189 H 297.7°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#A879FC
RGBrgb(168, 121, 252)
HSLhsl(262, 96%, 73%)
HSVhsv(262, 52%, 99%)
CMYKcmyk(33.3%, 52%, 0%, 1.2%)
CIE-LABlab(60.81, 45.35, -59.05)
CIE-LCHlch(60.81, 74.46, 307.52°)
OKLaboklab(68.09% 0.0878 -0.1669)
OKLCHoklch(68.09% 0.189 297.7)
XYZxyz(40.5522, 29.0274, 95.5429)
Luminance0.2903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A879FC #CDFC79
analogous
#798BFC #A879FC #EA79FC
triadic
#A879FC #FCA879 #79FCA8
tetradic
#A879FC #FC798B #CDFC79 #79FCEA
square
#A879FC #FC798B #CDFC79 #79FCEA
split-complementary
#A879FC #FCEA79 #8BFC79
monochromatic
#5B05F5 #813DFB #A879FC #CFB5FD #ECE1FE

Accessibility & contrast

On white

3.09
#A879FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#A879FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A879FC
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A879FC#FFFFFF#000000##000000
##A879FC1.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4693FF
Deuteranopia (green-blind)
#5391F9
Tritanopia (blue-blind)
#9693AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a879fc;
/* rgb */ color: rgb(168, 121, 252);
/* oklch */ color: oklch(68.1% 0.189 297.7);
Tailwind
colors: {
  custom: {
    50: '#c6a1fe',
    500: '#a879fc',
    950: '#000000',
  },
}
SCSS
$custom: #a879fc;
$custom-light: #c6a1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a879fc",
  "rgb": {
    "r": 168,
    "g": 121,
    "b": 252
  },
  "hsl": {
    "h": 261.527,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68094,
    "c": 0.18857,
    "h": 297.7
  },
  "luminance": 0.29028
}

Semantic roles & 50–950 ramp

primary
#A879FC
secondary
#EAF7D4
accent
#E60093
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A879FC

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

Preview Lab → · Contrast checker → · Palette generator →

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