#A678F8#A678F8

#A678F8 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.5% C 0.185 H 297.8°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#A678F8
RGBrgb(166, 120, 248)
HSLhsl(262, 90%, 72%)
HSVhsv(262, 52%, 97%)
CMYKcmyk(33.1%, 51.6%, 0%, 2.7%)
CIE-LABlab(60.17, 44.42, -57.87)
CIE-LCHlch(60.17, 72.95, 307.51°)
OKLaboklab(67.51% 0.0864 -0.1635)
OKLCHoklch(67.51% 0.185 297.8)
XYZxyz(39.3815, 28.3168, 92.1796)
Luminance0.2832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A678F8 #CAF878
analogous
#788AF8 #A678F8 #E678F8
triadic
#A678F8 #F8A678 #78F8A6
tetradic
#A678F8 #F8788A #CAF878 #78F8E6
square
#A678F8 #F8788A #CAF878 #78F8E6
split-complementary
#A678F8 #F8E678 #8AF878
monochromatic
#5C0CE9 #803EF5 #A678F8 #CCB2FB #ECE2FD

Accessibility & contrast

On white

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

On black

6.66
#A678F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A678F8
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A678F8#FFFFFF#000000##000000
##A678F81.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4791FC
Deuteranopia (green-blind)
#5490F5
Tritanopia (blue-blind)
#9491AD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a678f8;
/* rgb */ color: rgb(166, 120, 248);
/* oklch */ color: oklch(67.5% 0.185 297.8);
Tailwind
colors: {
  custom: {
    50: '#c4a0fb',
    500: '#a678f8',
    950: '#000000',
  },
}
SCSS
$custom: #a678f8;
$custom-light: #c4a0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a678f8",
  "rgb": {
    "r": 166,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 261.563,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67508,
    "c": 0.18487,
    "h": 297.8
  },
  "luminance": 0.28317
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A678F8

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

Preview Lab → · Contrast checker → · Palette generator →

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