#A678FE#A678FE

#A678FE is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.9% C 0.192 H 296.8°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A678FE
RGBrgb(166, 120, 254)
HSLhsl(261, 99%, 73%)
HSVhsv(261, 53%, 100%)
CMYKcmyk(34.6%, 52.8%, 0%, 0.4%)
CIE-LABlab(60.51, 45.92, -60.63)
CIE-LCHlch(60.51, 76.06, 307.14°)
OKLaboklab(67.87% 0.0867 -0.1716)
OKLCHoklch(67.87% 0.192 296.8)
XYZxyz(40.3273, 28.6951, 97.1608)
Luminance0.2870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A678FE #D0FE78
analogous
#788DFE #A678FE #E978FE
triadic
#A678FE #FEA678 #78FEA6
tetradic
#A678FE #FE788D #D0FE78 #78FEE9
square
#A678FE #FE788D #D0FE78 #78FEE9
split-complementary
#A678FE #FEE978 #8DFE78
monochromatic
#5702FA #7E3BFE #A678FE #CEB5FE #EBE1FF

Accessibility & contrast

On white

3.12
#A678FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#A678FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A678FE
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A678FE#FFFFFF#000000##000000
##A678FE1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4193FF
Deuteranopia (green-blind)
#4E90FB
Tritanopia (blue-blind)
#9293B0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a678fe;
/* rgb */ color: rgb(166, 120, 254);
/* oklch */ color: oklch(67.9% 0.192 296.8);
Tailwind
colors: {
  custom: {
    50: '#c4a0ff',
    500: '#a678fe',
    950: '#000000',
  },
}
SCSS
$custom: #a678fe;
$custom-light: #c4a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a678fe",
  "rgb": {
    "r": 166,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 260.597,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67867,
    "c": 0.19223,
    "h": 296.8
  },
  "luminance": 0.28696
}

Semantic roles & 50–950 ramp

primary
#A678FE
secondary
#EBF7D4
accent
#E60097
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A678FE

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

Preview Lab → · Contrast checker → · Palette generator →

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