#A677F1#A677F1

#A677F1 is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.9% C 0.178 H 299.3°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#A677F1
RGBrgb(166, 119, 241)
HSLhsl(263, 81%, 71%)
HSVhsv(263, 51%, 95%)
CMYKcmyk(31.1%, 50.6%, 0%, 5.5%)
CIE-LABlab(59.57, 43.23, -54.95)
CIE-LCHlch(59.57, 69.92, 308.19°)
OKLaboklab(66.94% 0.0871 -0.1549)
OKLCHoklch(66.94% 0.178 299.3)
XYZxyz(38.1961, 27.6512, 86.5269)
Luminance0.2765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A677F1 #C2F177
analogous
#7785F1 #A677F1 #E377F1
triadic
#A677F1 #F1A677 #77F1A6
tetradic
#A677F1 #F17785 #C2F177 #77F1E3
square
#A677F1 #F17785 #C2F177 #77F1E3
split-complementary
#A677F1 #F1E377 #85F177
monochromatic
#6116D7 #8240EB #A677F1 #CAAEF7 #EDE3FC

Accessibility & contrast

On white

3.22
#A677F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#A677F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A677F1
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A677F1#FFFFFF#000000##000000
##A677F11.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8FF5
Deuteranopia (green-blind)
#588EEE
Tritanopia (blue-blind)
#978EA9
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a677f1;
/* rgb */ color: rgb(166, 119, 241);
/* oklch */ color: oklch(66.9% 0.178 299.3);
Tailwind
colors: {
  custom: {
    50: '#c49ff6',
    500: '#a677f1',
    950: '#000000',
  },
}
SCSS
$custom: #a677f1;
$custom-light: #c49ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#a677f1",
  "rgb": {
    "r": 166,
    "g": 119,
    "b": 241
  },
  "hsl": {
    "h": 263.115,
    "s": 81.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66936,
    "c": 0.17777,
    "h": 299.3
  },
  "luminance": 0.27652
}

Semantic roles & 50–950 ramp

primary
#A677F1
secondary
#E6F2D1
accent
#DE088B
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130F17
muted
#827E85

Preview Lab

Preview with #A677F1

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

Preview Lab → · Contrast checker → · Palette generator →

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