#A682F8#A682F8

#A682F8 is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.2% C 0.170 H 295.7°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#A682F8
RGBrgb(166, 130, 248)
HSLhsl(258, 89%, 74%)
HSVhsv(258, 48%, 97%)
CMYKcmyk(33.1%, 47.6%, 0%, 2.7%)
CIE-LABlab(62.38, 38.86, -54.35)
CIE-LCHlch(62.38, 66.81, 305.56°)
OKLaboklab(69.15% 0.0737 -0.1532)
OKLCHoklch(69.15% 0.17 295.7)
XYZxyz(40.6475, 30.8489, 92.6016)
Luminance0.3085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A682F8 #D4F882
analogous
#8299F8 #A682F8 #E182F8
triadic
#A682F8 #F8A682 #82F8A6
tetradic
#A682F8 #F88299 #D4F882 #82F8E1
square
#A682F8 #F88299 #D4F882 #82F8E1
split-complementary
#A682F8 #F8E182 #99F882
monochromatic
#530EF2 #7D48F5 #A682F8 #CFBCFB #EAE2FD

Accessibility & contrast

On white

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

On black

7.17
#A682F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A682F8
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A682F8#FFFFFF#000000##000000
##A682F81.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5998FC
Deuteranopia (green-blind)
#6095F5
Tritanopia (blue-blind)
#9399B1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a682f8;
/* rgb */ color: rgb(166, 130, 248);
/* oklch */ color: oklch(69.2% 0.170 295.7);
Tailwind
colors: {
  custom: {
    50: '#c4a7fb',
    500: '#a682f8',
    950: '#000000',
  },
}
SCSS
$custom: #a682f8;
$custom-light: #c4a7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a682f8",
  "rgb": {
    "r": 166,
    "g": 130,
    "b": 248
  },
  "hsl": {
    "h": 258.305,
    "s": 89.394,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69152,
    "c": 0.16999,
    "h": 295.7
  },
  "luminance": 0.3085
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A682F8

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

Preview Lab → · Contrast checker → · Palette generator →

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