#A682FE#A682FE

#A682FE is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.5% C 0.178 H 294.7°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#A682FE
RGBrgb(166, 130, 254)
HSLhsl(257, 98%, 75%)
HSVhsv(257, 49%, 100%)
CMYKcmyk(34.6%, 48.8%, 0%, 0.4%)
CIE-LABlab(62.70, 40.39, -57.14)
CIE-LCHlch(62.70, 69.97, 305.25°)
OKLaboklab(69.49% 0.0743 -0.1613)
OKLCHoklch(69.49% 0.178 294.7)
XYZxyz(41.5933, 31.2272, 97.5828)
Luminance0.3123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A682FE #DAFE82
analogous
#829CFE #A682FE #E482FE
triadic
#A682FE #FEA682 #82FEA6
tetradic
#A682FE #FE829C #DAFE82 #82FEE4
square
#A682FE #FE829C #DAFE82 #82FEE4
split-complementary
#A682FE #FEE482 #9CFE82
monochromatic
#5009FD #7B45FE #A682FE #D1BFFE #E9E1FF

Accessibility & contrast

On white

2.90
#A682FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#A682FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A682FE
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A682FE#FFFFFF#000000##000000
##A682FE1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5599FF
Deuteranopia (green-blind)
#5C96FB
Tritanopia (blue-blind)
#919AB4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a682fe;
/* rgb */ color: rgb(166, 130, 254);
/* oklch */ color: oklch(69.5% 0.178 294.7);
Tailwind
colors: {
  custom: {
    50: '#c4a7ff',
    500: '#a682fe',
    950: '#000000',
  },
}
SCSS
$custom: #a682fe;
$custom-light: #c4a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a682fe",
  "rgb": {
    "r": 166,
    "g": 130,
    "b": 254
  },
  "hsl": {
    "h": 257.419,
    "s": 98.413,
    "l": 75.294
  },
  "oklch": {
    "l": 0.69494,
    "c": 0.17763,
    "h": 294.7
  },
  "luminance": 0.31228
}

Semantic roles & 50–950 ramp

primary
#A682FE
secondary
#EDF7D4
accent
#E600A3
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A682FE

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

Preview Lab → · Contrast checker → · Palette generator →

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