#A682F7#A682F7

#A682F7 is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.1% C 0.169 H 295.9°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#A682F7
RGBrgb(166, 130, 247)
HSLhsl(258, 88%, 74%)
HSVhsv(258, 47%, 97%)
CMYKcmyk(32.8%, 47.4%, 0%, 3.1%)
CIE-LABlab(62.33, 38.61, -53.88)
CIE-LCHlch(62.33, 66.29, 305.62°)
OKLaboklab(69.1% 0.0736 -0.1518)
OKLCHoklch(69.1% 0.169 295.9)
XYZxyz(40.4928, 30.7870, 91.7868)
Luminance0.3079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A682F7 #D3F782
analogous
#8299F7 #A682F7 #E182F7
triadic
#A682F7 #F7A682 #82F7A6
tetradic
#A682F7 #F78299 #D3F782 #82F7E1
square
#A682F7 #F78299 #D3F782 #82F7E1
split-complementary
#A682F7 #F7E182 #99F782
monochromatic
#540FEF #7D48F3 #A682F7 #CFBCFB #EBE2FD

Accessibility & contrast

On white

2.93
#A682F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#A682F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A682F7
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A682F7#FFFFFF#000000##000000
##A682F71.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A97FB
Deuteranopia (green-blind)
#6195F4
Tritanopia (blue-blind)
#9498B1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a682f7;
/* rgb */ color: rgb(166, 130, 247);
/* oklch */ color: oklch(69.1% 0.169 295.9);
Tailwind
colors: {
  custom: {
    50: '#c4a7fa',
    500: '#a682f7',
    950: '#000000',
  },
}
SCSS
$custom: #a682f7;
$custom-light: #c4a7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a682f7",
  "rgb": {
    "r": 166,
    "g": 130,
    "b": 247
  },
  "hsl": {
    "h": 258.462,
    "s": 87.97,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69096,
    "c": 0.16872,
    "h": 295.9
  },
  "luminance": 0.30788
}

Semantic roles & 50–950 ramp

primary
#A682F7
secondary
#ECF5D6
accent
#E5019F
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A682F7

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

Preview Lab → · Contrast checker → · Palette generator →

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