#A677F8#A677F8

#A677F8 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.3% C 0.186 H 298.0°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#A677F8
RGBrgb(166, 119, 248)
HSLhsl(262, 90%, 72%)
HSVhsv(262, 52%, 97%)
CMYKcmyk(33.1%, 52%, 0%, 2.7%)
CIE-LABlab(59.96, 44.97, -58.21)
CIE-LCHlch(59.96, 73.56, 307.69°)
OKLaboklab(67.35% 0.0876 -0.1645)
OKLCHoklch(67.35% 0.186 298)
XYZxyz(39.2618, 28.0775, 92.1397)
Luminance0.2808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A677F8 #C9F877
analogous
#7789F8 #A677F8 #E677F8
triadic
#A677F8 #F8A677 #77F8A6
tetradic
#A677F8 #F87789 #C9F877 #77F8E6
square
#A677F8 #F87789 #C9F877 #77F8E6
split-complementary
#A677F8 #F8E677 #89F877
monochromatic
#5C0CE9 #803DF5 #A677F8 #CCB1FB #ECE2FE

Accessibility & contrast

On white

3.17
#A677F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#A677F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A677F8
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A677F8#FFFFFF#000000##000000
##A677F81.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4591FC
Deuteranopia (green-blind)
#528FF5
Tritanopia (blue-blind)
#9490AC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a677f8;
/* rgb */ color: rgb(166, 119, 248);
/* oklch */ color: oklch(67.3% 0.186 298.0);
Tailwind
colors: {
  custom: {
    50: '#c49ffb',
    500: '#a677f8',
    950: '#000000',
  },
}
SCSS
$custom: #a677f8;
$custom-light: #c49ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#a677f8",
  "rgb": {
    "r": 166,
    "g": 119,
    "b": 248
  },
  "hsl": {
    "h": 261.86,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67348,
    "c": 0.18635,
    "h": 298
  },
  "luminance": 0.28078
}

Semantic roles & 50–950 ramp

primary
#A677F8
secondary
#EAF6D5
accent
#E60092
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A677F8

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

Preview Lab → · Contrast checker → · Palette generator →

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