#A685F7#A685F7

#A685F7 is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.6% C 0.164 H 295.1°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#A685F7
RGBrgb(166, 133, 247)
HSLhsl(257, 88%, 75%)
HSVhsv(257, 46%, 97%)
CMYKcmyk(32.8%, 46.2%, 0%, 3.1%)
CIE-LABlab(63.01, 36.92, -52.80)
CIE-LCHlch(63.01, 64.43, 304.96°)
OKLaboklab(69.61% 0.0698 -0.1487)
OKLCHoklch(69.61% 0.164 295.1)
XYZxyz(40.8977, 31.5968, 91.9217)
Luminance0.3160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A685F7 #D6F785
analogous
#859DF7 #A685F7 #DF85F7
triadic
#A685F7 #F7A685 #85F7A6
tetradic
#A685F7 #F7859D #D6F785 #85F7DF
square
#A685F7 #F7859D #D6F785 #85F7DF
split-complementary
#A685F7 #F7DF85 #9DF785
monochromatic
#5212EF #7C4CF3 #A685F7 #D0BEFB #EAE2FD

Accessibility & contrast

On white

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

On black

7.32
#A685F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A685F7
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A685F7#FFFFFF#000000##000000
##A685F71.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F99FB
Deuteranopia (green-blind)
#6597F4
Tritanopia (blue-blind)
#949BB2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a685f7;
/* rgb */ color: rgb(166, 133, 247);
/* oklch */ color: oklch(69.6% 0.164 295.1);
Tailwind
colors: {
  custom: {
    50: '#c3a9fa',
    500: '#a685f7',
    950: '#000000',
  },
}
SCSS
$custom: #a685f7;
$custom-light: #c3a9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a685f7",
  "rgb": {
    "r": 166,
    "g": 133,
    "b": 247
  },
  "hsl": {
    "h": 257.368,
    "s": 87.692,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69607,
    "c": 0.16421,
    "h": 295.1
  },
  "luminance": 0.31597
}

Semantic roles & 50–950 ramp

primary
#A685F7
secondary
#ECF5D6
accent
#E401A3
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A685F7

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

Preview Lab → · Contrast checker → · Palette generator →

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