#A677FE#A677FE

#A677FE is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.7% C 0.194 H 297.0°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#A677FE
RGBrgb(166, 119, 254)
HSLhsl(261, 99%, 73%)
HSVhsv(261, 53%, 100%)
CMYKcmyk(34.6%, 53.1%, 0%, 0.4%)
CIE-LABlab(60.30, 46.47, -60.97)
CIE-LCHlch(60.30, 76.66, 307.31°)
OKLaboklab(67.71% 0.0879 -0.1726)
OKLCHoklch(67.71% 0.194 297)
XYZxyz(40.2076, 28.4558, 97.1209)
Luminance0.2846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A677FE #CFFE77
analogous
#778BFE #A677FE #E977FE
triadic
#A677FE #FEA677 #77FEA6
tetradic
#A677FE #FE778B #CFFE77 #77FEE9
square
#A677FE #FE778B #CFFE77 #77FEE9
split-complementary
#A677FE #FEE977 #8BFE77
monochromatic
#5802F9 #7E3AFE #A677FE #CEB4FE #EBE1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A677FE#FFFFFF#000000##000000
##A677FE1.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)
#3F92FF
Deuteranopia (green-blind)
#4C90FB
Tritanopia (blue-blind)
#9292AF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a677fe;
/* rgb */ color: rgb(166, 119, 254);
/* oklch */ color: oklch(67.7% 0.194 297.0);
Tailwind
colors: {
  custom: {
    50: '#c59fff',
    500: '#a677fe',
    950: '#000000',
  },
}
SCSS
$custom: #a677fe;
$custom-light: #c59fff;
$custom-dark: #000000;
JSON
{
  "hex": "#a677fe",
  "rgb": {
    "r": 166,
    "g": 119,
    "b": 254
  },
  "hsl": {
    "h": 260.889,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67709,
    "c": 0.19368,
    "h": 297
  },
  "luminance": 0.28456
}

Semantic roles & 50–950 ramp

primary
#A677FE
secondary
#EBF7D4
accent
#E60096
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A677FE

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

Preview Lab → · Contrast checker → · Palette generator →

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