#A678EC#A678EC

#A678EC is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.8% C 0.170 H 300.1°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A678EC
RGBrgb(166, 120, 236)
HSLhsl(264, 75%, 70%)
HSVhsv(264, 49%, 93%)
CMYKcmyk(29.7%, 49.2%, 0%, 7.5%)
CIE-LABlab(59.52, 41.45, -52.26)
CIE-LCHlch(59.52, 66.70, 308.42°)
OKLaboklab(66.81% 0.0854 -0.1471)
OKLCHoklch(66.81% 0.17 300.1)
XYZxyz(37.5791, 27.5958, 82.6873)
Luminance0.2760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A678EC #BEEC78
analogous
#7884EC #A678EC #E078EC
triadic
#A678EC #ECA678 #78ECA6
tetradic
#A678EC #EC7884 #BEEC78 #78ECE0
square
#A678EC #EC7884 #BEEC78 #78ECE0
split-complementary
#A678EC #ECE078 #84EC78
monochromatic
#631DCD #8342E4 #A678EC #C9AEF4 #EDE3FB

Accessibility & contrast

On white

3.22
#A678EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#A678EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A678EC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A678EC#FFFFFF#000000##000000
##A678EC1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#528FF0
Deuteranopia (green-blind)
#5D8FE9
Tritanopia (blue-blind)
#988EA7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a678ec;
/* rgb */ color: rgb(166, 120, 236);
/* oklch */ color: oklch(66.8% 0.170 300.1);
Tailwind
colors: {
  custom: {
    50: '#c3a0f3',
    500: '#a678ec',
    950: '#000000',
  },
}
SCSS
$custom: #a678ec;
$custom-light: #c3a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a678ec",
  "rgb": {
    "r": 166,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 263.793,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66812,
    "c": 0.17007,
    "h": 300.1
  },
  "luminance": 0.27596
}

Semantic roles & 50–950 ramp

primary
#A678EC
secondary
#E3F0D0
accent
#D70E88
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #A678EC

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

Preview Lab → · Contrast checker → · Palette generator →

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