#A678EF#A678EF

#A678EF is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.0% C 0.174 H 299.5°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#A678EF
RGBrgb(166, 120, 239)
HSLhsl(263, 79%, 70%)
HSVhsv(263, 50%, 94%)
CMYKcmyk(30.5%, 49.8%, 0%, 6.3%)
CIE-LABlab(59.68, 42.19, -53.67)
CIE-LCHlch(59.68, 68.27, 308.17°)
OKLaboklab(66.98% 0.0857 -0.1512)
OKLCHoklch(66.98% 0.174 299.5)
XYZxyz(38.0187, 27.7717, 85.0021)
Luminance0.2777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A678EF #C1EF78
analogous
#7885EF #A678EF #E178EF
triadic
#A678EF #EFA678 #78EFA6
tetradic
#A678EF #EF7885 #C1EF78 #78EFE1
square
#A678EF #EF7885 #C1EF78 #78EFE1
split-complementary
#A678EF #EFE178 #85EF78
monochromatic
#6119D4 #8241E9 #A678EF #CAAFF5 #EDE4FC

Accessibility & contrast

On white

3.20
#A678EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#A678EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A678EF
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A678EF#FFFFFF#000000##000000
##A678EF1.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F90F3
Deuteranopia (green-blind)
#5B8FEC
Tritanopia (blue-blind)
#978EA8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a678ef;
/* rgb */ color: rgb(166, 120, 239);
/* oklch */ color: oklch(67.0% 0.174 299.5);
Tailwind
colors: {
  custom: {
    50: '#c3a0f5',
    500: '#a678ef',
    950: '#000000',
  },
}
SCSS
$custom: #a678ef;
$custom-light: #c3a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a678ef",
  "rgb": {
    "r": 166,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 263.193,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66983,
    "c": 0.17378,
    "h": 299.5
  },
  "luminance": 0.27772
}

Semantic roles & 50–950 ramp

primary
#A678EF
secondary
#E5F2D1
accent
#DB0A8A
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130F17
muted
#827E85

Preview Lab

Preview with #A678EF

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

Preview Lab → · Contrast checker → · Palette generator →

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