#A684E2#A684E2

#A684E2 is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.3% C 0.139 H 299.4°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#A684E2
RGBrgb(166, 132, 226)
HSLhsl(262, 62%, 70%)
HSVhsv(262, 42%, 89%)
CMYKcmyk(26.5%, 41.6%, 0%, 11.4%)
CIE-LABlab(61.74, 32.29, -43.19)
CIE-LCHlch(61.74, 53.92, 306.78°)
OKLaboklab(68.31% 0.068 -0.1207)
OKLCHoklch(68.31% 0.139 299.4)
XYZxyz(37.7015, 30.1003, 75.7604)
Luminance0.3010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A684E2 #C0E284
analogous
#8491E2 #A684E2 #D584E2
triadic
#A684E2 #E2A684 #84E2A6
tetradic
#A684E2 #E28491 #C0E284 #84E2D5
square
#A684E2 #E28491 #C0E284 #84E2D5
split-complementary
#A684E2 #E2D584 #91E284
monochromatic
#622DBF #8252D6 #A684E2 #CAB6EE #EDE6F9

Accessibility & contrast

On white

2.99
#A684E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#A684E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A684E2
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A684E2#FFFFFF#000000##000000
##A684E21.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A95E6
Deuteranopia (green-blind)
#7194E0
Tritanopia (blue-blind)
#9A94A8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a684e2;
/* rgb */ color: rgb(166, 132, 226);
/* oklch */ color: oklch(68.3% 0.139 299.4);
Tailwind
colors: {
  custom: {
    50: '#c2a8eb',
    500: '#a684e2',
    950: '#000000',
  },
}
SCSS
$custom: #a684e2;
$custom-light: #c2a8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a684e2",
  "rgb": {
    "r": 166,
    "g": 132,
    "b": 226
  },
  "hsl": {
    "h": 261.702,
    "s": 61.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68314,
    "c": 0.1385,
    "h": 299.4
  },
  "luminance": 0.30101
}

Semantic roles & 50–950 ramp

primary
#A684E2
secondary
#E5EED4
accent
#CA1C8B
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A684E2

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

Preview Lab → · Contrast checker → · Palette generator →

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