#A677F9#A677F9

#A677F9 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.4% C 0.188 H 297.9°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A677F9
RGBrgb(166, 119, 249)
HSLhsl(262, 92%, 72%)
HSVhsv(262, 52%, 98%)
CMYKcmyk(33.3%, 52.2%, 0%, 2.4%)
CIE-LABlab(60.01, 45.22, -58.67)
CIE-LCHlch(60.01, 74.07, 307.62°)
OKLaboklab(67.41% 0.0877 -0.1658)
OKLCHoklch(67.41% 0.188 297.9)
XYZxyz(39.4174, 28.1397, 92.9590)
Luminance0.2814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A677F9 #CAF977
analogous
#7789F9 #A677F9 #E777F9
triadic
#A677F9 #F9A677 #77F9A6
tetradic
#A677F9 #F97789 #CAF977 #77F9E7
square
#A677F9 #F97789 #CAF977 #77F9E7
split-complementary
#A677F9 #F9E777 #89F977
monochromatic
#5C0AEB #803CF6 #A677F9 #CCB2FC #ECE2FE

Accessibility & contrast

On white

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

On black

6.63
#A677F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A677F9
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A677F9#FFFFFF#000000##000000
##A677F91.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4491FD
Deuteranopia (green-blind)
#518FF6
Tritanopia (blue-blind)
#9491AD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a677f9;
/* rgb */ color: rgb(166, 119, 249);
/* oklch */ color: oklch(67.4% 0.188 297.9);
Tailwind
colors: {
  custom: {
    50: '#c49ffc',
    500: '#a677f9',
    950: '#000000',
  },
}
SCSS
$custom: #a677f9;
$custom-light: #c49ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#a677f9",
  "rgb": {
    "r": 166,
    "g": 119,
    "b": 249
  },
  "hsl": {
    "h": 261.692,
    "s": 91.549,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67408,
    "c": 0.18758,
    "h": 297.9
  },
  "luminance": 0.2814
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A677F9

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

Preview Lab → · Contrast checker → · Palette generator →

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