#A684E4#A684E4

#A684E4 is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.4% C 0.141 H 299.0°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#A684E4
RGBrgb(166, 132, 228)
HSLhsl(261, 64%, 71%)
HSVhsv(261, 42%, 89%)
CMYKcmyk(27.2%, 42.1%, 0%, 10.6%)
CIE-LABlab(61.84, 32.77, -44.15)
CIE-LCHlch(61.84, 54.98, 306.58°)
OKLaboklab(68.42% 0.0683 -0.1235)
OKLCHoklch(68.42% 0.141 299)
XYZxyz(37.9775, 30.2107, 77.2142)
Luminance0.3021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A684E4 #C2E484
analogous
#8492E4 #A684E4 #D684E4
triadic
#A684E4 #E4A684 #84E4A6
tetradic
#A684E4 #E48492 #C2E484 #84E4D6
square
#A684E4 #E48492 #C2E484 #84E4D6
split-complementary
#A684E4 #E4D684 #92E484
monochromatic
#612BC3 #8252D9 #A684E4 #CAB6EF #EDE6F9

Accessibility & contrast

On white

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

On black

7.04
#A684E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A684E4
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A684E4#FFFFFF#000000##000000
##A684E41.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6995E8
Deuteranopia (green-blind)
#7095E2
Tritanopia (blue-blind)
#9A95A9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a684e4;
/* rgb */ color: rgb(166, 132, 228);
/* oklch */ color: oklch(68.4% 0.141 299.0);
Tailwind
colors: {
  custom: {
    50: '#c2a8ed',
    500: '#a684e4',
    950: '#000000',
  },
}
SCSS
$custom: #a684e4;
$custom-light: #c2a8ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a684e4",
  "rgb": {
    "r": 166,
    "g": 132,
    "b": 228
  },
  "hsl": {
    "h": 261.25,
    "s": 64,
    "l": 70.588
  },
  "oklch": {
    "l": 0.68417,
    "c": 0.1411,
    "h": 299
  },
  "luminance": 0.30211
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A684E4

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

Preview Lab → · Contrast checker → · Palette generator →

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