#A678FD#A678FD

#A678FD is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.8% C 0.191 H 297.0°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#A678FD
RGBrgb(166, 120, 253)
HSLhsl(261, 97%, 73%)
HSVhsv(261, 53%, 99%)
CMYKcmyk(34.4%, 52.6%, 0%, 0.8%)
CIE-LABlab(60.45, 45.67, -60.17)
CIE-LCHlch(60.45, 75.54, 307.20°)
OKLaboklab(67.81% 0.0866 -0.1702)
OKLCHoklch(67.81% 0.191 297)
XYZxyz(40.1675, 28.6312, 96.3196)
Luminance0.2863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A678FD #CFFD78
analogous
#788CFD #A678FD #E878FD
triadic
#A678FD #FDA678 #78FDA6
tetradic
#A678FD #FD788C #CFFD78 #78FDE8
square
#A678FD #FD788C #CFFD78 #78FDE8
split-complementary
#A678FD #FDE878 #8CFD78
monochromatic
#5804F7 #7E3CFC #A678FD #CEB4FE #EBE1FF

Accessibility & contrast

On white

3.12
#A678FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#A678FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A678FD
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A678FD#FFFFFF#000000##000000
##A678FD1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4292FF
Deuteranopia (green-blind)
#4F90FA
Tritanopia (blue-blind)
#9293AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a678fd;
/* rgb */ color: rgb(166, 120, 253);
/* oklch */ color: oklch(67.8% 0.191 297.0);
Tailwind
colors: {
  custom: {
    50: '#c4a0ff',
    500: '#a678fd',
    950: '#000000',
  },
}
SCSS
$custom: #a678fd;
$custom-light: #c4a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a678fd",
  "rgb": {
    "r": 166,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 260.752,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67807,
    "c": 0.19101,
    "h": 297
  },
  "luminance": 0.28632
}

Semantic roles & 50–950 ramp

primary
#A678FD
secondary
#EBF7D4
accent
#E60096
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A678FD

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

Preview Lab → · Contrast checker → · Palette generator →

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