#A682EC#A682EC

#A682EC is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.5% C 0.155 H 297.9°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#A682EC
RGBrgb(166, 130, 236)
HSLhsl(260, 74%, 72%)
HSVhsv(260, 45%, 93%)
CMYKcmyk(29.7%, 44.9%, 0%, 7.5%)
CIE-LABlab(61.76, 35.86, -48.70)
CIE-LCHlch(61.76, 60.48, 306.37°)
OKLaboklab(68.49% 0.0722 -0.1367)
OKLCHoklch(68.49% 0.155 297.9)
XYZxyz(38.8452, 30.1280, 83.1094)
Luminance0.3013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A682EC #C8EC82
analogous
#8293EC #A682EC #DB82EC
triadic
#A682EC #ECA682 #82ECA6
tetradic
#A682EC #EC8293 #C8EC82 #82ECDB
square
#A682EC #EC8293 #C8EC82 #82ECDB
split-complementary
#A682EC #ECDB82 #93EC82
monochromatic
#5D20D3 #804DE4 #A682EC #CCB7F4 #ECE4FB

Accessibility & contrast

On white

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

On black

7.03
#A682EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A682EC
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A682EC#FFFFFF#000000##000000
##A682EC1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295F0
Deuteranopia (green-blind)
#6994E9
Tritanopia (blue-blind)
#9795AC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a682ec;
/* rgb */ color: rgb(166, 130, 236);
/* oklch */ color: oklch(68.5% 0.155 297.9);
Tailwind
colors: {
  custom: {
    50: '#c3a7f2',
    500: '#a682ec',
    950: '#000000',
  },
}
SCSS
$custom: #a682ec;
$custom-light: #c3a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a682ec",
  "rgb": {
    "r": 166,
    "g": 130,
    "b": 236
  },
  "hsl": {
    "h": 260.377,
    "s": 73.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68491,
    "c": 0.15461,
    "h": 297.9
  },
  "luminance": 0.30128
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A682EC

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

Preview Lab → · Contrast checker → · Palette generator →

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