#A677F7#A677F7

#A677F7 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.3% C 0.185 H 298.2°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A677F7
RGBrgb(166, 119, 247)
HSLhsl(262, 89%, 72%)
HSVhsv(262, 52%, 97%)
CMYKcmyk(32.8%, 51.8%, 0%, 3.1%)
CIE-LABlab(59.90, 44.72, -57.75)
CIE-LCHlch(59.90, 73.04, 307.75°)
OKLaboklab(67.29% 0.0875 -0.1631)
OKLCHoklch(67.29% 0.185 298.2)
XYZxyz(39.1071, 28.0156, 91.3249)
Luminance0.2802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A677F7 #C8F777
analogous
#7788F7 #A677F7 #E677F7
triadic
#A677F7 #F7A677 #77F7A6
tetradic
#A677F7 #F77788 #C8F777 #77F7E6
square
#A677F7 #F77788 #C8F777 #77F7E6
split-complementary
#A677F7 #F7E677 #88F777
monochromatic
#5D0EE6 #803DF4 #A677F7 #CCB1FA #ECE2FD

Accessibility & contrast

On white

3.18
#A677F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#A677F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A677F7
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A677F7#FFFFFF#000000##000000
##A677F71.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4690FB
Deuteranopia (green-blind)
#538FF4
Tritanopia (blue-blind)
#9490AC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a677f7;
/* rgb */ color: rgb(166, 119, 247);
/* oklch */ color: oklch(67.3% 0.185 298.2);
Tailwind
colors: {
  custom: {
    50: '#c49ffa',
    500: '#a677f7',
    950: '#000000',
  },
}
SCSS
$custom: #a677f7;
$custom-light: #c49ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#a677f7",
  "rgb": {
    "r": 166,
    "g": 119,
    "b": 247
  },
  "hsl": {
    "h": 262.031,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67289,
    "c": 0.18513,
    "h": 298.2
  },
  "luminance": 0.28016
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A677F7

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

Preview Lab → · Contrast checker → · Palette generator →

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