#A684FB#A684FB

#A684FB is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.7% C 0.171 H 294.7°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#A684FB
RGBrgb(166, 132, 251)
HSLhsl(257, 94%, 75%)
HSVhsv(257, 47%, 98%)
CMYKcmyk(33.9%, 47.4%, 0%, 1.6%)
CIE-LABlab(62.99, 38.50, -55.03)
CIE-LCHlch(62.99, 67.16, 304.98°)
OKLaboklab(69.66% 0.0715 -0.1552)
OKLCHoklch(69.66% 0.171 294.7)
XYZxyz(41.3853, 31.5738, 95.1620)
Luminance0.3157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A684FB #D9FB84
analogous
#849DFB #A684FB #E284FB
triadic
#A684FB #FBA684 #84FBA6
tetradic
#A684FB #FB849D #D9FB84 #84FBE2
square
#A684FB #FB849D #D9FB84 #84FBE2
split-complementary
#A684FB #FBE284 #9DFB84
monochromatic
#500DF7 #7B49F9 #A684FB #D1BFFD #EAE1FE

Accessibility & contrast

On white

2.87
#A684FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#A684FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A684FB
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A684FB#FFFFFF#000000##000000
##A684FB1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A99FF
Deuteranopia (green-blind)
#6197F8
Tritanopia (blue-blind)
#929BB4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a684fb;
/* rgb */ color: rgb(166, 132, 251);
/* oklch */ color: oklch(69.7% 0.171 294.7);
Tailwind
colors: {
  custom: {
    50: '#c4a8fd',
    500: '#a684fb',
    950: '#000000',
  },
}
SCSS
$custom: #a684fb;
$custom-light: #c4a8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a684fb",
  "rgb": {
    "r": 166,
    "g": 132,
    "b": 251
  },
  "hsl": {
    "h": 257.143,
    "s": 93.701,
    "l": 75.098
  },
  "oklch": {
    "l": 0.6966,
    "c": 0.17084,
    "h": 294.7
  },
  "luminance": 0.31575
}

Semantic roles & 50–950 ramp

primary
#A684FB
secondary
#EDF6D5
accent
#E600A4
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A684FB

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

Preview Lab → · Contrast checker → · Palette generator →

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