#A682E4#A682E4

#A682E4 is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.1% C 0.144 H 299.5°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#A682E4
RGBrgb(166, 130, 228)
HSLhsl(262, 64%, 70%)
HSVhsv(262, 43%, 89%)
CMYKcmyk(27.2%, 43%, 0%, 10.6%)
CIE-LABlab(61.37, 33.90, -44.88)
CIE-LCHlch(61.37, 56.25, 307.06°)
OKLaboklab(68.07% 0.0711 -0.1256)
OKLCHoklch(68.07% 0.144 299.5)
XYZxyz(37.7089, 29.6735, 77.1247)
Luminance0.2967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A682E4 #C0E482
analogous
#828FE4 #A682E4 #D782E4
triadic
#A682E4 #E4A682 #82E4A6
tetradic
#A682E4 #E4828F #C0E482 #82E4D7
square
#A682E4 #E4828F #C0E482 #82E4D7
split-complementary
#A682E4 #E4D782 #8FE482
monochromatic
#622AC2 #8250D9 #A682E4 #CAB4EF #EDE6FA

Accessibility & contrast

On white

3.03
#A682E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#A682E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A682E4
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A682E4#FFFFFF#000000##000000
##A682E41.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6694E8
Deuteranopia (green-blind)
#6E93E2
Tritanopia (blue-blind)
#9A93A8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a682e4;
/* rgb */ color: rgb(166, 130, 228);
/* oklch */ color: oklch(68.1% 0.144 299.5);
Tailwind
colors: {
  custom: {
    50: '#c2a7ed',
    500: '#a682e4',
    950: '#000000',
  },
}
SCSS
$custom: #a682e4;
$custom-light: #c2a7ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a682e4",
  "rgb": {
    "r": 166,
    "g": 130,
    "b": 228
  },
  "hsl": {
    "h": 262.041,
    "s": 64.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68066,
    "c": 0.14429,
    "h": 299.5
  },
  "luminance": 0.29674
}

Semantic roles & 50–950 ramp

primary
#A682E4
secondary
#E5EED3
accent
#CC198B
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A682E4

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

Preview Lab → · Contrast checker → · Palette generator →

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