#A677EB#A677EB

#A677EB is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.6% C 0.170 H 300.6°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A677EB
RGBrgb(166, 119, 235)
HSLhsl(264, 74%, 69%)
HSVhsv(264, 49%, 92%)
CMYKcmyk(29.4%, 49.4%, 0%, 7.8%)
CIE-LABlab(59.25, 41.76, -52.14)
CIE-LCHlch(59.25, 66.80, 308.70°)
OKLaboklab(66.59% 0.0866 -0.1467)
OKLCHoklch(66.59% 0.17 300.6)
XYZxyz(37.3146, 27.2986, 81.8844)
Luminance0.2730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A677EB #BCEB77
analogous
#7782EB #A677EB #E077EB
triadic
#A677EB #EBA677 #77EBA6
tetradic
#A677EB #EB7782 #BCEB77 #77EBE0
square
#A677EB #EB7782 #BCEB77 #77EBE0
split-complementary
#A677EB #EBE077 #82EB77
monochromatic
#631ECA #8342E3 #A677EB #C9ACF3 #ECE2FB

Accessibility & contrast

On white

3.25
#A677EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#A677EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A677EB
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A677EB#FFFFFF#000000##000000
##A677EB1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#518EEF
Deuteranopia (green-blind)
#5D8EE8
Tritanopia (blue-blind)
#988DA6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a677eb;
/* rgb */ color: rgb(166, 119, 235);
/* oklch */ color: oklch(66.6% 0.170 300.6);
Tailwind
colors: {
  custom: {
    50: '#c39ff2',
    500: '#a677eb',
    950: '#000000',
  },
}
SCSS
$custom: #a677eb;
$custom-light: #c39ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#a677eb",
  "rgb": {
    "r": 166,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 264.31,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66592,
    "c": 0.17036,
    "h": 300.6
  },
  "luminance": 0.27299
}

Semantic roles & 50–950 ramp

primary
#A677EB
secondary
#E2F0CE
accent
#D60F86
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A677EB

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

Preview Lab → · Contrast checker → · Palette generator →

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