#A682EB#A682EB

#A682EB is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.4% C 0.153 H 298.1°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#A682EB
RGBrgb(166, 130, 235)
HSLhsl(261, 72%, 72%)
HSVhsv(261, 45%, 92%)
CMYKcmyk(29.4%, 44.7%, 0%, 7.8%)
CIE-LABlab(61.71, 35.61, -48.23)
CIE-LCHlch(61.71, 59.95, 306.44°)
OKLaboklab(68.44% 0.0721 -0.1353)
OKLCHoklch(68.44% 0.153 298.1)
XYZxyz(38.7003, 30.0700, 82.3464)
Luminance0.3007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A682EB #C7EB82
analogous
#8293EB #A682EB #DA82EB
triadic
#A682EB #EBA682 #82EBA6
tetradic
#A682EB #EB8293 #C7EB82 #82EBDA
square
#A682EB #EB8293 #C7EB82 #82EBDA
split-complementary
#A682EB #EBDA82 #93EB82
monochromatic
#5E21D1 #804DE3 #A682EB #CCB7F3 #ECE5FB

Accessibility & contrast

On white

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

On black

7.01
#A682EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A682EB
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A682EB#FFFFFF#000000##000000
##A682EB1.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EF
Deuteranopia (green-blind)
#6A94E8
Tritanopia (blue-blind)
#9895AB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a682eb;
/* rgb */ color: rgb(166, 130, 235);
/* oklch */ color: oklch(68.4% 0.153 298.1);
Tailwind
colors: {
  custom: {
    50: '#c3a7f2',
    500: '#a682eb',
    950: '#000000',
  },
}
SCSS
$custom: #a682eb;
$custom-light: #c3a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a682eb",
  "rgb": {
    "r": 166,
    "g": 130,
    "b": 235
  },
  "hsl": {
    "h": 260.571,
    "s": 72.414,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68437,
    "c": 0.15332,
    "h": 298.1
  },
  "luminance": 0.3007
}

Semantic roles & 50–950 ramp

primary
#A682EB
secondary
#E9F2D7
accent
#D41191
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A682EB

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

Preview Lab → · Contrast checker → · Palette generator →

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