#A6A7E5#A6A7E5

#A6A7E5 is a light, moderate blue. Relative luminance 0.414; OKLCH L 75.0% C 0.089 H 283.3°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#A6A7E5
RGBrgb(166, 167, 229)
HSLhsl(239, 55%, 77%)
HSVhsv(239, 28%, 90%)
CMYKcmyk(27.5%, 27.1%, 0%, 10.2%)
CIE-LABlab(70.46, 13.21, -31.26)
CIE-LCHlch(70.46, 33.94, 292.90°)
OKLaboklab(75.02% 0.0205 -0.0864)
OKLCHoklch(75.02% 0.089 283.3)
XYZxyz(43.6838, 41.4005, 79.8031)
Luminance0.4140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A7E5 #E5E4A6
analogous
#A6C6E5 #A6A7E5 #C5A6E5
triadic
#A6A7E5 #E5A6A7 #A7E5A6
tetradic
#A6A7E5 #E5A6C6 #E5E4A6 #A6E5C5
square
#A6A7E5 #E5A6C6 #E5E4A6 #A6E5C5
split-complementary
#A6A7E5 #E5C5A6 #C6E5A6
monochromatic
#4749C9 #7778D7 #A6A7E5 #D5D6F3 #E7E8F8

Accessibility & contrast

On white

2.26
#A6A7E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#A6A7E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A7E5
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A7E5#FFFFFF#000000##000000
##A6A7E51.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#96AEE8
Deuteranopia (green-blind)
#94AAE3
Tritanopia (blue-blind)
#97B2BD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a6a7e5;
/* rgb */ color: rgb(166, 167, 229);
/* oklch */ color: oklch(75.0% 0.089 283.3);
Tailwind
colors: {
  custom: {
    50: '#c1c1ed',
    500: '#a6a7e5',
    950: '#000000',
  },
}
SCSS
$custom: #a6a7e5;
$custom-light: #c1c1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a7e5",
  "rgb": {
    "r": 166,
    "g": 167,
    "b": 229
  },
  "hsl": {
    "h": 239.048,
    "s": 54.783,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75025,
    "c": 0.08882,
    "h": 283.3
  },
  "luminance": 0.41402
}

Semantic roles & 50–950 ramp

primary
#A6A7E5
secondary
#EFEFDC
accent
#C023C2
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#121216
muted
#818184

Preview Lab

Preview with #A6A7E5

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

Preview Lab → · Contrast checker → · Palette generator →

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