#A678F5#A678F5

#A678F5 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.3% C 0.181 H 298.4°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A678F5
RGBrgb(166, 120, 245)
HSLhsl(262, 86%, 72%)
HSVhsv(262, 51%, 96%)
CMYKcmyk(32.2%, 51%, 0%, 3.9%)
CIE-LABlab(60.01, 43.67, -56.47)
CIE-LCHlch(60.01, 71.39, 307.71°)
OKLaboklab(67.33% 0.0862 -0.1594)
OKLCHoklch(67.33% 0.181 298.4)
XYZxyz(38.9198, 28.1321, 89.7481)
Luminance0.2813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A678F5 #C7F578
analogous
#7889F5 #A678F5 #E578F5
triadic
#A678F5 #F5A678 #78F5A6
tetradic
#A678F5 #F57889 #C7F578 #78F5E5
square
#A678F5 #F57889 #C7F578 #78F5E5
split-complementary
#A678F5 #F5E578 #89F578
monochromatic
#5E11E2 #803FF1 #A678F5 #CCB1F9 #ECE3FD

Accessibility & contrast

On white

3.17
#A678F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#A678F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A678F5
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A678F5#FFFFFF#000000##000000
##A678F51.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A91F9
Deuteranopia (green-blind)
#568FF2
Tritanopia (blue-blind)
#9590AB
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a678f5;
/* rgb */ color: rgb(166, 120, 245);
/* oklch */ color: oklch(67.3% 0.181 298.4);
Tailwind
colors: {
  custom: {
    50: '#c4a0f9',
    500: '#a678f5',
    950: '#000000',
  },
}
SCSS
$custom: #a678f5;
$custom-light: #c4a0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a678f5",
  "rgb": {
    "r": 166,
    "g": 120,
    "b": 245
  },
  "hsl": {
    "h": 262.08,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67331,
    "c": 0.1812,
    "h": 298.4
  },
  "luminance": 0.28133
}

Semantic roles & 50–950 ramp

primary
#A678F5
secondary
#E9F4D4
accent
#E30390
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A678F5

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

Preview Lab → · Contrast checker → · Palette generator →

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