#A684E5#A684E5

#A684E5 is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.5% C 0.142 H 298.7°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#A684E5
RGBrgb(166, 132, 229)
HSLhsl(261, 65%, 71%)
HSVhsv(261, 42%, 90%)
CMYKcmyk(27.5%, 42.4%, 0%, 10.2%)
CIE-LABlab(61.88, 33.01, -44.63)
CIE-LCHlch(61.88, 55.52, 306.49°)
OKLaboklab(68.47% 0.0685 -0.1249)
OKLCHoklch(68.47% 0.142 298.7)
XYZxyz(38.1167, 30.2664, 77.9474)
Luminance0.3027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A684E5 #C3E584
analogous
#8492E5 #A684E5 #D684E5
triadic
#A684E5 #E5A684 #84E5A6
tetradic
#A684E5 #E58492 #C3E584 #84E5D6
square
#A684E5 #E58492 #C3E584 #84E5D6
split-complementary
#A684E5 #E5D684 #92E584
monochromatic
#602AC5 #8151DA #A684E5 #CBB7F0 #EDE6FA

Accessibility & contrast

On white

2.98
#A684E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#A684E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A684E5
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A684E5#FFFFFF#000000##000000
##A684E51.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6996E9
Deuteranopia (green-blind)
#6F95E3
Tritanopia (blue-blind)
#9A95AA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a684e5;
/* rgb */ color: rgb(166, 132, 229);
/* oklch */ color: oklch(68.5% 0.142 298.7);
Tailwind
colors: {
  custom: {
    50: '#c2a8ed',
    500: '#a684e5',
    950: '#000000',
  },
}
SCSS
$custom: #a684e5;
$custom-light: #c2a8ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a684e5",
  "rgb": {
    "r": 166,
    "g": 132,
    "b": 229
  },
  "hsl": {
    "h": 261.031,
    "s": 65.101,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68468,
    "c": 0.14241,
    "h": 298.7
  },
  "luminance": 0.30267
}

Semantic roles & 50–950 ramp

primary
#A684E5
secondary
#E6EFD5
accent
#CD198E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A684E5

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

Preview Lab → · Contrast checker → · Palette generator →

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