#A684F9#A684F9

#A684F9 is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.5% C 0.168 H 295.1°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#A684F9
RGBrgb(166, 132, 249)
HSLhsl(257, 91%, 75%)
HSVhsv(257, 47%, 98%)
CMYKcmyk(33.3%, 47%, 0%, 2.4%)
CIE-LABlab(62.88, 37.99, -54.10)
CIE-LCHlch(62.88, 66.11, 305.08°)
OKLaboklab(69.55% 0.0713 -0.1524)
OKLCHoklch(69.55% 0.168 295.1)
XYZxyz(41.0717, 31.4484, 93.5104)
Luminance0.3145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A684F9 #D7F984
analogous
#849DF9 #A684F9 #E184F9
triadic
#A684F9 #F9A684 #84F9A6
tetradic
#A684F9 #F9849D #D7F984 #84F9E1
square
#A684F9 #F9849D #D7F984 #84F9E1
split-complementary
#A684F9 #F9E184 #9DF984
monochromatic
#520FF3 #7C4AF6 #A684F9 #D0BEFC #EAE2FE

Accessibility & contrast

On white

2.88
#A684F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#A684F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A684F9
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A684F9#FFFFFF#000000##000000
##A684F91.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C99FD
Deuteranopia (green-blind)
#6296F6
Tritanopia (blue-blind)
#939AB3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a684f9;
/* rgb */ color: rgb(166, 132, 249);
/* oklch */ color: oklch(69.5% 0.168 295.1);
Tailwind
colors: {
  custom: {
    50: '#c4a8fc',
    500: '#a684f9',
    950: '#000000',
  },
}
SCSS
$custom: #a684f9;
$custom-light: #c4a8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a684f9",
  "rgb": {
    "r": 166,
    "g": 132,
    "b": 249
  },
  "hsl": {
    "h": 257.436,
    "s": 90.698,
    "l": 74.706
  },
  "oklch": {
    "l": 0.69547,
    "c": 0.16828,
    "h": 295.1
  },
  "luminance": 0.31449
}

Semantic roles & 50–950 ramp

primary
#A684F9
secondary
#ECF6D5
accent
#E600A3
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A684F9

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

Preview Lab → · Contrast checker → · Palette generator →

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