#A677EC#A677EC

#A677EC is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.6% C 0.172 H 300.4°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A677EC
RGBrgb(166, 119, 236)
HSLhsl(264, 75%, 70%)
HSVhsv(264, 50%, 93%)
CMYKcmyk(29.7%, 49.6%, 0%, 7.5%)
CIE-LABlab(59.30, 42.01, -52.61)
CIE-LCHlch(59.30, 67.32, 308.61°)
OKLaboklab(66.65% 0.0867 -0.1481)
OKLCHoklch(66.65% 0.172 300.4)
XYZxyz(37.4595, 27.3566, 82.6475)
Luminance0.2736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A677EC #BDEC77
analogous
#7782EC #A677EC #E177EC
triadic
#A677EC #ECA677 #77ECA6
tetradic
#A677EC #EC7782 #BDEC77 #77ECE1
square
#A677EC #EC7782 #BDEC77 #77ECE1
split-complementary
#A677EC #ECE177 #82EC77
monochromatic
#631DCC #8341E4 #A677EC #C9ADF4 #ECE2FB

Accessibility & contrast

On white

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

On black

6.47
#A677EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A677EC
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A677EC#FFFFFF#000000##000000
##A677EC1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#508EF0
Deuteranopia (green-blind)
#5C8EE9
Tritanopia (blue-blind)
#988DA7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a677ec;
/* rgb */ color: rgb(166, 119, 236);
/* oklch */ color: oklch(66.6% 0.172 300.4);
Tailwind
colors: {
  custom: {
    50: '#c39ff3',
    500: '#a677ec',
    950: '#000000',
  },
}
SCSS
$custom: #a677ec;
$custom-light: #c39ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#a677ec",
  "rgb": {
    "r": 166,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 264.103,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66649,
    "c": 0.1716,
    "h": 300.4
  },
  "luminance": 0.27357
}

Semantic roles & 50–950 ramp

primary
#A677EC
secondary
#E3F0CF
accent
#D80E87
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A677EC

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

Preview Lab → · Contrast checker → · Palette generator →

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