#A8A6EF#A8A6EF

#A8A6EF is a light, moderate blue. Relative luminance 0.418; OKLCH L 75.4% C 0.104 H 284.9°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#A8A6EF
RGBrgb(168, 166, 239)
HSLhsl(242, 70%, 79%)
HSVhsv(242, 31%, 94%)
CMYKcmyk(29.7%, 30.5%, 0%, 6.3%)
CIE-LABlab(70.75, 16.80, -36.25)
CIE-LCHlch(70.75, 39.95, 294.87°)
OKLaboklab(75.42% 0.0267 -0.1007)
OKLCHoklch(75.42% 0.104 284.9)
XYZxyz(45.3606, 41.8281, 87.3283)
Luminance0.4183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A6EF #EDEFA6
analogous
#A6C9EF #A8A6EF #CDA6EF
triadic
#A8A6EF #EFA8A6 #A6EFA8
tetradic
#A8A6EF #EFA6C9 #EDEFA6 #A6EFCD
square
#A8A6EF #EFA6C9 #EDEFA6 #A6EFCD
split-complementary
#A8A6EF #EFCDA6 #C9EFA6
monochromatic
#433EDC #7572E6 #A8A6EF #DBDAF8 #E6E5FA

Accessibility & contrast

On white

2.24
#A8A6EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#A8A6EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A6EF
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A6EF#FFFFFF#000000##000000
##A8A6EF1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AFF2
Deuteranopia (green-blind)
#8FABED
Tritanopia (blue-blind)
#97B3C0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a8a6ef;
/* rgb */ color: rgb(168, 166, 239);
/* oklch */ color: oklch(75.4% 0.104 284.9);
Tailwind
colors: {
  custom: {
    50: '#c3c0f4',
    500: '#a8a6ef',
    950: '#000000',
  },
}
SCSS
$custom: #a8a6ef;
$custom-light: #c3c0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a6ef",
  "rgb": {
    "r": 168,
    "g": 166,
    "b": 239
  },
  "hsl": {
    "h": 241.644,
    "s": 69.524,
    "l": 79.412
  },
  "oklch": {
    "l": 0.75423,
    "c": 0.10415,
    "h": 284.9
  },
  "luminance": 0.41829
}

Semantic roles & 50–950 ramp

primary
#A8A6EF
secondary
#F1F2D9
accent
#D214CC
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #A8A6EF

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

Preview Lab → · Contrast checker → · Palette generator →

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