#A678F3#A678F3

#A678F3 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.2% C 0.179 H 298.8°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A678F3
RGBrgb(166, 120, 243)
HSLhsl(262, 84%, 71%)
HSVhsv(262, 51%, 95%)
CMYKcmyk(31.7%, 50.6%, 0%, 4.7%)
CIE-LABlab(59.90, 43.17, -55.54)
CIE-LCHlch(59.90, 70.35, 307.86°)
OKLaboklab(67.21% 0.086 -0.1567)
OKLCHoklch(67.21% 0.179 298.8)
XYZxyz(38.6161, 28.0106, 88.1488)
Luminance0.2801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A678F3 #C5F378
analogous
#7887F3 #A678F3 #E378F3
triadic
#A678F3 #F3A678 #78F3A6
tetradic
#A678F3 #F37887 #C5F378 #78F3E3
square
#A678F3 #F37887 #C5F378 #78F3E3
split-complementary
#A678F3 #F3E378 #87F378
monochromatic
#5F14DD #8140EE #A678F3 #CBB0F8 #ECE3FD

Accessibility & contrast

On white

3.18
#A678F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#A678F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A678F3
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A678F3#FFFFFF#000000##000000
##A678F31.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C90F7
Deuteranopia (green-blind)
#588FF0
Tritanopia (blue-blind)
#9690AA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a678f3;
/* rgb */ color: rgb(166, 120, 243);
/* oklch */ color: oklch(67.2% 0.179 298.8);
Tailwind
colors: {
  custom: {
    50: '#c4a0f8',
    500: '#a678f3',
    950: '#000000',
  },
}
SCSS
$custom: #a678f3;
$custom-light: #c4a0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a678f3",
  "rgb": {
    "r": 166,
    "g": 120,
    "b": 243
  },
  "hsl": {
    "h": 262.439,
    "s": 83.673,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67214,
    "c": 0.17873,
    "h": 298.8
  },
  "luminance": 0.28011
}

Semantic roles & 50–950 ramp

primary
#A678F3
secondary
#E7F4D3
accent
#E0058E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A678F3

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

Preview Lab → · Contrast checker → · Palette generator →

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