#A682E9#A682E9

#A682E9 is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.3% C 0.151 H 298.5°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#A682E9
RGBrgb(166, 130, 233)
HSLhsl(261, 70%, 71%)
HSVhsv(261, 44%, 91%)
CMYKcmyk(28.8%, 44.2%, 0%, 8.6%)
CIE-LABlab(61.62, 35.12, -47.28)
CIE-LCHlch(61.62, 58.89, 306.61°)
OKLaboklab(68.33% 0.0718 -0.1325)
OKLCHoklch(68.33% 0.151 298.5)
XYZxyz(38.4130, 29.9551, 80.8332)
Luminance0.2995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A682E9 #C5E982
analogous
#8291E9 #A682E9 #D982E9
triadic
#A682E9 #E9A682 #82E9A6
tetradic
#A682E9 #E98291 #C5E982 #82E9D9
square
#A682E9 #E98291 #C5E982 #82E9D9
split-complementary
#A682E9 #E9D982 #91E982
monochromatic
#5F24CD #814EE0 #A682E9 #CBB6F2 #ECE5FA

Accessibility & contrast

On white

3.00
#A682E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#A682E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A682E9
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A682E9#FFFFFF#000000##000000
##A682E91.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6395ED
Deuteranopia (green-blind)
#6B94E6
Tritanopia (blue-blind)
#9894AA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a682e9;
/* rgb */ color: rgb(166, 130, 233);
/* oklch */ color: oklch(68.3% 0.151 298.5);
Tailwind
colors: {
  custom: {
    50: '#c3a7f0',
    500: '#a682e9',
    950: '#000000',
  },
}
SCSS
$custom: #a682e9;
$custom-light: #c3a7f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a682e9",
  "rgb": {
    "r": 166,
    "g": 130,
    "b": 233
  },
  "hsl": {
    "h": 260.971,
    "s": 70.068,
    "l": 71.176
  },
  "oklch": {
    "l": 0.6833,
    "c": 0.15075,
    "h": 298.5
  },
  "luminance": 0.29955
}

Semantic roles & 50–950 ramp

primary
#A682E9
secondary
#E7F1D6
accent
#D2138F
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A682E9

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

Preview Lab → · Contrast checker → · Palette generator →

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