#A682FB#A682FB

#A682FB is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.3% C 0.174 H 295.2°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#A682FB
RGBrgb(166, 130, 251)
HSLhsl(258, 94%, 75%)
HSVhsv(258, 48%, 98%)
CMYKcmyk(33.9%, 48.2%, 0%, 1.6%)
CIE-LABlab(62.54, 39.62, -55.75)
CIE-LCHlch(62.54, 68.39, 305.40°)
OKLaboklab(69.32% 0.074 -0.1573)
OKLCHoklch(69.32% 0.174 295.2)
XYZxyz(41.1167, 31.0366, 95.0725)
Luminance0.3104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A682FB #D7FB82
analogous
#829BFB #A682FB #E282FB
triadic
#A682FB #FBA682 #82FBA6
tetradic
#A682FB #FB829B #D7FB82 #82FBE2
square
#A682FB #FB829B #D7FB82 #82FBE2
split-complementary
#A682FB #FBE282 #9BFB82
monochromatic
#520BF7 #7C47F9 #A682FB #D0BDFD #EAE1FE

Accessibility & contrast

On white

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

On black

7.21
#A682FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A682FB
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A682FB#FFFFFF#000000##000000
##A682FB1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5798FF
Deuteranopia (green-blind)
#5E95F8
Tritanopia (blue-blind)
#9299B3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a682fb;
/* rgb */ color: rgb(166, 130, 251);
/* oklch */ color: oklch(69.3% 0.174 295.2);
Tailwind
colors: {
  custom: {
    50: '#c4a7fd',
    500: '#a682fb',
    950: '#000000',
  },
}
SCSS
$custom: #a682fb;
$custom-light: #c4a7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a682fb",
  "rgb": {
    "r": 166,
    "g": 130,
    "b": 251
  },
  "hsl": {
    "h": 257.851,
    "s": 93.798,
    "l": 74.706
  },
  "oklch": {
    "l": 0.69322,
    "c": 0.17382,
    "h": 295.2
  },
  "luminance": 0.31037
}

Semantic roles & 50–950 ramp

primary
#A682FB
secondary
#ECF6D5
accent
#E600A1
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A682FB

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

Preview Lab → · Contrast checker → · Palette generator →

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