#A682EF#A682EF

#A682EF is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.7% C 0.158 H 297.3°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#A682EF
RGBrgb(166, 130, 239)
HSLhsl(260, 77%, 72%)
HSVhsv(260, 46%, 94%)
CMYKcmyk(30.5%, 45.6%, 0%, 6.3%)
CIE-LABlab(61.92, 36.60, -50.12)
CIE-LCHlch(61.92, 62.07, 306.14°)
OKLaboklab(68.65% 0.0727 -0.1408)
OKLCHoklch(68.65% 0.158 297.3)
XYZxyz(39.2847, 30.3038, 85.4241)
Luminance0.3030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A682EF #CBEF82
analogous
#8294EF #A682EF #DD82EF
triadic
#A682EF #EFA682 #82EFA6
tetradic
#A682EF #EF8294 #CBEF82 #82EFDD
square
#A682EF #EF8294 #CBEF82 #82EFDD
split-complementary
#A682EF #EFDD82 #94EF82
monochromatic
#5B1CDB #7F4CE8 #A682EF #CDB8F6 #ECE4FC

Accessibility & contrast

On white

2.97
#A682EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#A682EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A682EF
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A682EF#FFFFFF#000000##000000
##A682EF1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F3
Deuteranopia (green-blind)
#6794EC
Tritanopia (blue-blind)
#9796AD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a682ef;
/* rgb */ color: rgb(166, 130, 239);
/* oklch */ color: oklch(68.7% 0.158 297.3);
Tailwind
colors: {
  custom: {
    50: '#c3a7f5',
    500: '#a682ef',
    950: '#000000',
  },
}
SCSS
$custom: #a682ef;
$custom-light: #c3a7f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a682ef",
  "rgb": {
    "r": 166,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 259.817,
    "s": 77.305,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68653,
    "c": 0.15847,
    "h": 297.3
  },
  "luminance": 0.30304
}

Semantic roles & 50–950 ramp

primary
#A682EF
secondary
#EAF3D8
accent
#DA0C96
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A682EF

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

Preview Lab → · Contrast checker → · Palette generator →

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