#A678FB#A678FB

#A678FB is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.7% C 0.189 H 297.3°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#A678FB
RGBrgb(166, 120, 251)
HSLhsl(261, 94%, 73%)
HSVhsv(261, 52%, 98%)
CMYKcmyk(33.9%, 52.2%, 0%, 1.6%)
CIE-LABlab(60.34, 45.17, -59.25)
CIE-LCHlch(60.34, 74.50, 307.32°)
OKLaboklab(67.69% 0.0865 -0.1675)
OKLCHoklch(67.69% 0.189 297.3)
XYZxyz(39.8506, 28.5044, 94.6505)
Luminance0.2851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A678FB #CDFB78
analogous
#788BFB #A678FB #E878FB
triadic
#A678FB #FBA678 #78FBA6
tetradic
#A678FB #FB788B #CDFB78 #78FBE8
square
#A678FB #FB788B #CDFB78 #78FBE8
split-complementary
#A678FB #FBE878 #8BFB78
monochromatic
#5907F1 #7F3DF9 #A678FB #CDB3FD #EBE1FE

Accessibility & contrast

On white

3.13
#A678FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#A678FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A678FB
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A678FB#FFFFFF#000000##000000
##A678FB1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4492FF
Deuteranopia (green-blind)
#5190F8
Tritanopia (blue-blind)
#9392AE
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a678fb;
/* rgb */ color: rgb(166, 120, 251);
/* oklch */ color: oklch(67.7% 0.189 297.3);
Tailwind
colors: {
  custom: {
    50: '#c4a0fd',
    500: '#a678fb',
    950: '#000000',
  },
}
SCSS
$custom: #a678fb;
$custom-light: #c4a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a678fb",
  "rgb": {
    "r": 166,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 261.069,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67687,
    "c": 0.18857,
    "h": 297.3
  },
  "luminance": 0.28505
}

Semantic roles & 50–950 ramp

primary
#A678FB
secondary
#EBF6D5
accent
#E60095
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A678FB

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

Preview Lab → · Contrast checker → · Palette generator →

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