#A682F2#A682F2

#A682F2 is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.8% C 0.162 H 296.7°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#A682F2
RGBrgb(166, 130, 242)
HSLhsl(259, 81%, 73%)
HSVhsv(259, 46%, 95%)
CMYKcmyk(31.4%, 46.3%, 0%, 5.1%)
CIE-LABlab(62.07, 37.35, -51.54)
CIE-LCHlch(62.07, 63.65, 305.93°)
OKLaboklab(68.82% 0.073 -0.145)
OKLCHoklch(68.82% 0.162 296.7)
XYZxyz(39.7316, 30.4826, 87.7776)
Luminance0.3048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A682F2 #CEF282
analogous
#8296F2 #A682F2 #DE82F2
triadic
#A682F2 #F2A682 #82F2A6
tetradic
#A682F2 #F28296 #CEF282 #82F2DE
square
#A682F2 #F28296 #CEF282 #82F2DE
split-complementary
#A682F2 #F2DE82 #96F282
monochromatic
#5918E2 #7F4BEC #A682F2 #CDB9F8 #EBE3FC

Accessibility & contrast

On white

2.96
#A682F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#A682F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A682F2
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A682F2#FFFFFF#000000##000000
##A682F21.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E97F6
Deuteranopia (green-blind)
#6595EF
Tritanopia (blue-blind)
#9697AF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a682f2;
/* rgb */ color: rgb(166, 130, 242);
/* oklch */ color: oklch(68.8% 0.162 296.7);
Tailwind
colors: {
  custom: {
    50: '#c3a7f7',
    500: '#a682f2',
    950: '#000000',
  },
}
SCSS
$custom: #a682f2;
$custom-light: #c3a7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a682f2",
  "rgb": {
    "r": 166,
    "g": 130,
    "b": 242
  },
  "hsl": {
    "h": 259.286,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68818,
    "c": 0.16233,
    "h": 296.7
  },
  "luminance": 0.30483
}

Semantic roles & 50–950 ramp

primary
#A682F2
secondary
#EBF4D7
accent
#DE0899
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A682F2

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

Preview Lab → · Contrast checker → · Palette generator →

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