#A678E7#A678E7

#A678E7 is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.5% C 0.164 H 301.2°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A678E7
RGBrgb(166, 120, 231)
HSLhsl(265, 70%, 69%)
HSVhsv(265, 48%, 91%)
CMYKcmyk(28.1%, 48.1%, 0%, 9.4%)
CIE-LABlab(59.26, 40.24, -49.89)
CIE-LCHlch(59.26, 64.10, 308.88°)
OKLaboklab(66.53% 0.0849 -0.1402)
OKLCHoklch(66.53% 0.164 301.2)
XYZxyz(36.8629, 27.3093, 78.9150)
Luminance0.2731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A678E7 #B9E778
analogous
#7882E7 #A678E7 #DE78E7
triadic
#A678E7 #E7A678 #78E7A6
tetradic
#A678E7 #E77882 #B9E778 #78E7DE
square
#A678E7 #E77882 #B9E778 #78E7DE
split-complementary
#A678E7 #E7DE78 #82E778
monochromatic
#6523C2 #8444DE #A678E7 #C8ACF0 #EBE0F9

Accessibility & contrast

On white

3.25
#A678E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#A678E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A678E7
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A678E7#FFFFFF#000000##000000
##A678E71.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#568EEB
Deuteranopia (green-blind)
#618EE4
Tritanopia (blue-blind)
#9A8CA5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a678e7;
/* rgb */ color: rgb(166, 120, 231);
/* oklch */ color: oklch(66.5% 0.164 301.2);
Tailwind
colors: {
  custom: {
    50: '#c3a0ef',
    500: '#a678e7',
    950: '#000000',
  },
}
SCSS
$custom: #a678e7;
$custom-light: #c3a0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a678e7",
  "rgb": {
    "r": 166,
    "g": 120,
    "b": 231
  },
  "hsl": {
    "h": 264.865,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66531,
    "c": 0.16387,
    "h": 301.2
  },
  "luminance": 0.27309
}

Semantic roles & 50–950 ramp

primary
#A678E7
secondary
#E0EECD
accent
#D21483
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #A678E7

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

Preview Lab → · Contrast checker → · Palette generator →

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