#A676EB#A676EB

#A676EB is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.4% C 0.172 H 300.8°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A676EB
RGBrgb(166, 118, 235)
HSLhsl(265, 75%, 69%)
HSVhsv(265, 50%, 92%)
CMYKcmyk(29.4%, 49.8%, 0%, 7.8%)
CIE-LABlab(59.03, 42.31, -52.48)
CIE-LCHlch(59.03, 67.42, 308.88°)
OKLaboklab(66.43% 0.0879 -0.1477)
OKLCHoklch(66.43% 0.172 300.8)
XYZxyz(37.1962, 27.0619, 81.8450)
Luminance0.2706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A676EB #BBEB76
analogous
#7681EB #A676EB #E076EB
triadic
#A676EB #EBA676 #76EBA6
tetradic
#A676EB #EB7681 #BBEB76 #76EBE0
square
#A676EB #EB7681 #BBEB76 #76EBE0
split-complementary
#A676EB #EBE076 #81EB76
monochromatic
#641DC9 #8341E3 #A676EB #C9ABF3 #EBE1FB

Accessibility & contrast

On white

3.27
#A676EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#A676EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A676EB
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A676EB#FFFFFF#000000##000000
##A676EB1.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8EEF
Deuteranopia (green-blind)
#5C8DE8
Tritanopia (blue-blind)
#998CA6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a676eb;
/* rgb */ color: rgb(166, 118, 235);
/* oklch */ color: oklch(66.4% 0.172 300.8);
Tailwind
colors: {
  custom: {
    50: '#c39ef2',
    500: '#a676eb',
    950: '#000000',
  },
}
SCSS
$custom: #a676eb;
$custom-light: #c39ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#a676eb",
  "rgb": {
    "r": 166,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 264.615,
    "s": 74.522,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66429,
    "c": 0.1719,
    "h": 300.8
  },
  "luminance": 0.27062
}

Semantic roles & 50–950 ramp

primary
#A676EB
secondary
#E1EFCD
accent
#D70F85
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A676EB

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

Preview Lab → · Contrast checker → · Palette generator →

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