#A679F5#A679F5

#A679F5 is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.5% C 0.180 H 298.2°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A679F5
RGBrgb(166, 121, 245)
HSLhsl(262, 86%, 72%)
HSVhsv(262, 51%, 96%)
CMYKcmyk(32.2%, 50.6%, 0%, 3.9%)
CIE-LABlab(60.23, 43.12, -56.13)
CIE-LCHlch(60.23, 70.78, 307.53°)
OKLaboklab(67.49% 0.0849 -0.1584)
OKLCHoklch(67.49% 0.18 298.2)
XYZxyz(39.0407, 28.3739, 89.7884)
Luminance0.2837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A679F5 #C8F579
analogous
#798AF5 #A679F5 #E479F5
triadic
#A679F5 #F5A679 #79F5A6
tetradic
#A679F5 #F5798A #C8F579 #79F5E4
square
#A679F5 #F5798A #C8F579 #79F5E4
split-complementary
#A679F5 #F5E479 #8AF579
monochromatic
#5D11E3 #8040F1 #A679F5 #CCB2F9 #ECE3FD

Accessibility & contrast

On white

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

On black

6.67
#A679F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A679F5
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A679F5#FFFFFF#000000##000000
##A679F51.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C91F9
Deuteranopia (green-blind)
#5890F2
Tritanopia (blue-blind)
#9591AC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a679f5;
/* rgb */ color: rgb(166, 121, 245);
/* oklch */ color: oklch(67.5% 0.180 298.2);
Tailwind
colors: {
  custom: {
    50: '#c4a1f9',
    500: '#a679f5',
    950: '#000000',
  },
}
SCSS
$custom: #a679f5;
$custom-light: #c4a1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a679f5",
  "rgb": {
    "r": 166,
    "g": 121,
    "b": 245
  },
  "hsl": {
    "h": 261.774,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67492,
    "c": 0.1797,
    "h": 298.2
  },
  "luminance": 0.28374
}

Semantic roles & 50–950 ramp

primary
#A679F5
secondary
#E9F5D5
accent
#E30391
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A679F5

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

Preview Lab → · Contrast checker → · Palette generator →

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