#A687E9#A687E9

#A687E9 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.2% C 0.143 H 297.1°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#A687E9
RGBrgb(166, 135, 233)
HSLhsl(259, 69%, 72%)
HSVhsv(259, 42%, 91%)
CMYKcmyk(28.8%, 42.1%, 0%, 8.6%)
CIE-LABlab(62.77, 32.30, -45.45)
CIE-LCHlch(62.77, 55.75, 305.40°)
OKLaboklab(69.2% 0.0651 -0.1272)
OKLCHoklch(69.2% 0.143 297.1)
XYZxyz(39.0943, 31.3177, 81.0603)
Luminance0.3132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A687E9 #CAE987
analogous
#8799E9 #A687E9 #D787E9
triadic
#A687E9 #E9A687 #87E9A6
tetradic
#A687E9 #E98799 #CAE987 #87E9D7
square
#A687E9 #E98799 #CAE987 #87E9D7
split-complementary
#A687E9 #E9D787 #99E987
monochromatic
#5C26D0 #8053E0 #A687E9 #CCBBF2 #ECE5FA

Accessibility & contrast

On white

2.89
#A687E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#A687E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A687E9
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A687E9#FFFFFF#000000##000000
##A687E91.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B98ED
Deuteranopia (green-blind)
#7097E7
Tritanopia (blue-blind)
#9898AD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a687e9;
/* rgb */ color: rgb(166, 135, 233);
/* oklch */ color: oklch(69.2% 0.143 297.1);
Tailwind
colors: {
  custom: {
    50: '#c2aaf0',
    500: '#a687e9',
    950: '#000000',
  },
}
SCSS
$custom: #a687e9;
$custom-light: #c2aaf0;
$custom-dark: #000000;
JSON
{
  "hex": "#a687e9",
  "rgb": {
    "r": 166,
    "g": 135,
    "b": 233
  },
  "hsl": {
    "h": 258.98,
    "s": 69.014,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69204,
    "c": 0.1429,
    "h": 297.1
  },
  "luminance": 0.31318
}

Semantic roles & 50–950 ramp

primary
#A687E9
secondary
#EAF2D9
accent
#D11595
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #A687E9

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

Preview Lab → · Contrast checker → · Palette generator →

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