#A678F9#A678F9

#A678F9 is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.6% C 0.186 H 297.7°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#A678F9
RGBrgb(166, 120, 249)
HSLhsl(261, 91%, 72%)
HSVhsv(261, 52%, 98%)
CMYKcmyk(33.3%, 51.8%, 0%, 2.4%)
CIE-LABlab(60.23, 44.67, -58.33)
CIE-LCHlch(60.23, 73.47, 307.44°)
OKLaboklab(67.57% 0.0864 -0.1648)
OKLCHoklch(67.57% 0.186 297.7)
XYZxyz(39.5370, 28.3790, 92.9989)
Luminance0.2838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A678F9 #CBF978
analogous
#788BF9 #A678F9 #E678F9
triadic
#A678F9 #F9A678 #78F9A6
tetradic
#A678F9 #F9788B #CBF978 #78F9E6
square
#A678F9 #F9788B #CBF978 #78F9E6
split-complementary
#A678F9 #F9E678 #8BF978
monochromatic
#5B0AEC #7F3DF6 #A678F9 #CDB3FC #ECE2FE

Accessibility & contrast

On white

3.15
#A678F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#A678F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A678F9
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A678F9#FFFFFF#000000##000000
##A678F91.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4692FD
Deuteranopia (green-blind)
#5390F6
Tritanopia (blue-blind)
#9491AD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a678f9;
/* rgb */ color: rgb(166, 120, 249);
/* oklch */ color: oklch(67.6% 0.186 297.7);
Tailwind
colors: {
  custom: {
    50: '#c4a0fc',
    500: '#a678f9',
    950: '#000000',
  },
}
SCSS
$custom: #a678f9;
$custom-light: #c4a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a678f9",
  "rgb": {
    "r": 166,
    "g": 120,
    "b": 249
  },
  "hsl": {
    "h": 261.395,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67567,
    "c": 0.18611,
    "h": 297.7
  },
  "luminance": 0.28379
}

Semantic roles & 50–950 ramp

primary
#A678F9
secondary
#EAF6D5
accent
#E60094
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A678F9

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

Preview Lab → · Contrast checker → · Palette generator →

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