#A679F6#A679F6

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

Color values

HEX#A679F6
RGBrgb(166, 121, 246)
HSLhsl(262, 87%, 72%)
HSVhsv(262, 51%, 96%)
CMYKcmyk(32.5%, 50.8%, 0%, 3.5%)
CIE-LABlab(60.28, 43.37, -56.59)
CIE-LCHlch(60.28, 71.30, 307.46°)
OKLaboklab(67.55% 0.085 -0.1597)
OKLCHoklch(67.55% 0.181 298)
XYZxyz(39.1937, 28.4351, 90.5945)
Luminance0.2844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A679F6 #C9F679
analogous
#798BF6 #A679F6 #E579F6
triadic
#A679F6 #F6A679 #79F6A6
tetradic
#A679F6 #F6798B #C9F679 #79F6E5
square
#A679F6 #F6798B #C9F679 #79F6E5
split-complementary
#A679F6 #F6E579 #8BF679
monochromatic
#5C0FE5 #8040F2 #A679F6 #CCB2FA #ECE2FD

Accessibility & contrast

On white

3.14
#A679F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#A679F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A679F6
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A679F6#FFFFFF#000000##000000
##A679F61.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B92FA
Deuteranopia (green-blind)
#5790F3
Tritanopia (blue-blind)
#9591AC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a679f6;
/* rgb */ color: rgb(166, 121, 246);
/* oklch */ color: oklch(67.6% 0.181 298.0);
Tailwind
colors: {
  custom: {
    50: '#c4a1fa',
    500: '#a679f6',
    950: '#000000',
  },
}
SCSS
$custom: #a679f6;
$custom-light: #c4a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a679f6",
  "rgb": {
    "r": 166,
    "g": 121,
    "b": 246
  },
  "hsl": {
    "h": 261.6,
    "s": 87.413,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67551,
    "c": 0.18093,
    "h": 298
  },
  "luminance": 0.28436
}

Semantic roles & 50–950 ramp

primary
#A679F6
secondary
#EAF5D6
accent
#E40292
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A679F6

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

Preview Lab → · Contrast checker → · Palette generator →

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