#A678EA#A678EA

#A678EA is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.7% C 0.168 H 300.6°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A678EA
RGBrgb(166, 120, 234)
HSLhsl(264, 73%, 69%)
HSVhsv(264, 49%, 92%)
CMYKcmyk(29.1%, 48.7%, 0%, 8.2%)
CIE-LABlab(59.42, 40.96, -51.31)
CIE-LCHlch(59.42, 65.66, 308.60°)
OKLaboklab(66.7% 0.0852 -0.1443)
OKLCHoklch(66.7% 0.168 300.6)
XYZxyz(37.2902, 27.4803, 81.1656)
Luminance0.2748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A678EA #BCEA78
analogous
#7883EA #A678EA #DF78EA
triadic
#A678EA #EAA678 #78EAA6
tetradic
#A678EA #EA7883 #BCEA78 #78EADF
square
#A678EA #EA7883 #BCEA78 #78EADF
split-complementary
#A678EA #EADF78 #83EA78
monochromatic
#631FC8 #8343E2 #A678EA #C9ADF2 #ECE2FA

Accessibility & contrast

On white

3.23
#A678EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#A678EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A678EA
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A678EA#FFFFFF#000000##000000
##A678EA1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FEE
Deuteranopia (green-blind)
#5F8EE7
Tritanopia (blue-blind)
#998DA6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a678ea;
/* rgb */ color: rgb(166, 120, 234);
/* oklch */ color: oklch(66.7% 0.168 300.6);
Tailwind
colors: {
  custom: {
    50: '#c3a0f1',
    500: '#a678ea',
    950: '#000000',
  },
}
SCSS
$custom: #a678ea;
$custom-light: #c3a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a678ea",
  "rgb": {
    "r": 166,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 264.211,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66699,
    "c": 0.16759,
    "h": 300.6
  },
  "luminance": 0.2748
}

Semantic roles & 50–950 ramp

primary
#A678EA
secondary
#E2EFCE
accent
#D51086
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #A678EA

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

Preview Lab → · Contrast checker → · Palette generator →

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