#A678FA#A678FA

#A678FA is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.6% C 0.187 H 297.5°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#A678FA
RGBrgb(166, 120, 250)
HSLhsl(261, 93%, 73%)
HSVhsv(261, 52%, 98%)
CMYKcmyk(33.6%, 52%, 0%, 2%)
CIE-LABlab(60.29, 44.92, -58.79)
CIE-LCHlch(60.29, 73.99, 307.38°)
OKLaboklab(67.63% 0.0865 -0.1662)
OKLCHoklch(67.63% 0.187 297.5)
XYZxyz(39.6934, 28.4416, 93.8225)
Luminance0.2844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A678FA #CCFA78
analogous
#788BFA #A678FA #E778FA
triadic
#A678FA #FAA678 #78FAA6
tetradic
#A678FA #FA788B #CCFA78 #78FAE7
square
#A678FA #FA788B #CCFA78 #78FAE7
split-complementary
#A678FA #FAE778 #8BFA78
monochromatic
#5A09EF #7F3DF8 #A678FA #CDB3FC #ECE1FE

Accessibility & contrast

On white

3.14
#A678FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#A678FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A678FA
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A678FA#FFFFFF#000000##000000
##A678FA1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4592FE
Deuteranopia (green-blind)
#5290F7
Tritanopia (blue-blind)
#9392AE
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a678fa;
/* rgb */ color: rgb(166, 120, 250);
/* oklch */ color: oklch(67.6% 0.187 297.5);
Tailwind
colors: {
  custom: {
    50: '#c4a0fd',
    500: '#a678fa',
    950: '#000000',
  },
}
SCSS
$custom: #a678fa;
$custom-light: #c4a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a678fa",
  "rgb": {
    "r": 166,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 261.231,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67627,
    "c": 0.18733,
    "h": 297.5
  },
  "luminance": 0.28442
}

Semantic roles & 50–950 ramp

primary
#A678FA
secondary
#EAF6D5
accent
#E60094
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A678FA

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

Preview Lab → · Contrast checker → · Palette generator →

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