#A6A7DF#A6A7DF

#A6A7DF is a light, moderate blue. Relative luminance 0.411; OKLCH L 74.8% C 0.080 H 283.5°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#A6A7DF
RGBrgb(166, 167, 223)
HSLhsl(239, 47%, 76%)
HSVhsv(239, 26%, 87%)
CMYKcmyk(25.6%, 25.1%, 0%, 12.5%)
CIE-LABlab(70.23, 11.76, -28.33)
CIE-LCHlch(70.23, 30.67, 292.54°)
OKLaboklab(74.77% 0.0187 -0.0781)
OKLCHoklch(74.77% 0.08 283.5)
XYZxyz(42.8605, 41.0712, 75.4671)
Luminance0.4107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A7DF #DFDEA6
analogous
#A6C4DF #A6A7DF #C2A6DF
triadic
#A6A7DF #DFA6A7 #A7DFA6
tetradic
#A6A7DF #DFA6C4 #DFDEA6 #A6DFC2
square
#A6A7DF #DFA6C4 #DFDEA6 #A6DFC2
split-complementary
#A6A7DF #DFC2A6 #C4DFA6
monochromatic
#4C4EBF #797ACF #A6A7DF #D3D4EF #E8E9F7

Accessibility & contrast

On white

2.28
#A6A7DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#A6A7DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A7DF
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A7DF#FFFFFF#000000##000000
##A6A7DF1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#98AEE1
Deuteranopia (green-blind)
#96AADE
Tritanopia (blue-blind)
#99B1BA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a6a7df;
/* rgb */ color: rgb(166, 167, 223);
/* oklch */ color: oklch(74.8% 0.080 283.5);
Tailwind
colors: {
  custom: {
    50: '#c1c1e9',
    500: '#a6a7df',
    950: '#000000',
  },
}
SCSS
$custom: #a6a7df;
$custom-light: #c1c1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a7df",
  "rgb": {
    "r": 166,
    "g": 167,
    "b": 223
  },
  "hsl": {
    "h": 238.947,
    "s": 47.107,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74771,
    "c": 0.0803,
    "h": 283.5
  },
  "luminance": 0.41072
}

Semantic roles & 50–950 ramp

primary
#A6A7DF
secondary
#EEEEDD
accent
#B82BBA
background
#FBFBFE
surface
#F7F7FC
border
#D0D0D5
text
#121216
muted
#818184

Preview Lab

Preview with #A6A7DF

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

Preview Lab → · Contrast checker → · Palette generator →

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