#A682FC#A682FC

#A682FC is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.4% C 0.175 H 295.0°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#A682FC
RGBrgb(166, 130, 252)
HSLhsl(258, 95%, 75%)
HSVhsv(258, 48%, 99%)
CMYKcmyk(34.1%, 48.4%, 0%, 1.2%)
CIE-LABlab(62.59, 39.88, -56.21)
CIE-LCHlch(62.59, 68.92, 305.35°)
OKLaboklab(69.38% 0.0741 -0.1586)
OKLCHoklch(69.38% 0.175 295)
XYZxyz(41.2747, 31.0998, 95.9049)
Luminance0.3110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A682FC #D8FC82
analogous
#829BFC #A682FC #E382FC
triadic
#A682FC #FCA682 #82FCA6
tetradic
#A682FC #FC829B #D8FC82 #82FCE3
square
#A682FC #FC829B #D8FC82 #82FCE3
split-complementary
#A682FC #FCE382 #9BFC82
monochromatic
#510AF9 #7B46FB #A682FC #D1BEFD #EAE1FE

Accessibility & contrast

On white

2.91
#A682FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#A682FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A682FC
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A682FC#FFFFFF#000000##000000
##A682FC1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#5D96F9
Tritanopia (blue-blind)
#929AB3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a682fc;
/* rgb */ color: rgb(166, 130, 252);
/* oklch */ color: oklch(69.4% 0.175 295.0);
Tailwind
colors: {
  custom: {
    50: '#c4a7fe',
    500: '#a682fc',
    950: '#000000',
  },
}
SCSS
$custom: #a682fc;
$custom-light: #c4a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a682fc",
  "rgb": {
    "r": 166,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 257.705,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.6938,
    "c": 0.17509,
    "h": 295
  },
  "luminance": 0.31101
}

Semantic roles & 50–950 ramp

primary
#A682FC
secondary
#ECF7D4
accent
#E600A2
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A682FC

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

Preview Lab → · Contrast checker → · Palette generator →

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