#A678F7#A678F7

#A678F7 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.4% C 0.184 H 298.0°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A678F7
RGBrgb(166, 120, 247)
HSLhsl(262, 89%, 72%)
HSVhsv(262, 51%, 97%)
CMYKcmyk(32.8%, 51.4%, 0%, 3.1%)
CIE-LABlab(60.12, 44.17, -57.40)
CIE-LCHlch(60.12, 72.43, 307.58°)
OKLaboklab(67.45% 0.0863 -0.1621)
OKLCHoklch(67.45% 0.184 298)
XYZxyz(39.2267, 28.2549, 91.3647)
Luminance0.2826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A678F7 #C9F778
analogous
#788AF7 #A678F7 #E578F7
triadic
#A678F7 #F7A678 #78F7A6
tetradic
#A678F7 #F7788A #C9F778 #78F7E5
square
#A678F7 #F7788A #C9F778 #78F7E5
split-complementary
#A678F7 #F7E578 #8AF778
monochromatic
#5C0EE7 #803EF4 #A678F7 #CCB2FA #ECE2FD

Accessibility & contrast

On white

3.16
#A678F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#A678F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A678F7
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A678F7#FFFFFF#000000##000000
##A678F71.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4891FB
Deuteranopia (green-blind)
#5490F4
Tritanopia (blue-blind)
#9491AC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a678f7;
/* rgb */ color: rgb(166, 120, 247);
/* oklch */ color: oklch(67.4% 0.184 298.0);
Tailwind
colors: {
  custom: {
    50: '#c4a0fa',
    500: '#a678f7',
    950: '#000000',
  },
}
SCSS
$custom: #a678f7;
$custom-light: #c4a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a678f7",
  "rgb": {
    "r": 166,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 261.732,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67449,
    "c": 0.18365,
    "h": 298
  },
  "luminance": 0.28255
}

Semantic roles & 50–950 ramp

primary
#A678F7
secondary
#EAF5D5
accent
#E50092
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A678F7

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

Preview Lab → · Contrast checker → · Palette generator →

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