#A6A7F2#A6A7F2

#A6A7F2 is a light, moderate blue. Relative luminance 0.422; OKLCH L 75.6% C 0.107 H 282.9°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#A6A7F2
RGBrgb(166, 167, 242)
HSLhsl(239, 75%, 80%)
HSVhsv(239, 31%, 95%)
CMYKcmyk(31.4%, 31%, 0%, 5.1%)
CIE-LABlab(70.98, 16.43, -37.54)
CIE-LCHlch(70.98, 40.98, 293.63°)
OKLaboklab(75.6% 0.024 -0.1044)
OKLCHoklch(75.6% 0.107 282.9)
XYZxyz(45.5673, 42.1539, 89.7229)
Luminance0.4215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A7F2 #F2F1A6
analogous
#A6CDF2 #A6A7F2 #CBA6F2
triadic
#A6A7F2 #F2A6A7 #A7F2A6
tetradic
#A6A7F2 #F2A6CD #F2F1A6 #A6F2CB
square
#A6A7F2 #F2A6CD #F2F1A6 #A6F2CB
split-complementary
#A6A7F2 #F2CBA6 #CDF2A6
monochromatic
#3B3DE2 #7172EA #A6A7F2 #DBDCFA #E4E5FB

Accessibility & contrast

On white

2.23
#A6A7F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#A6A7F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A7F2
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A7F2#FFFFFF#000000##000000
##A6A7F21.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B0F5
Deuteranopia (green-blind)
#8EABF0
Tritanopia (blue-blind)
#93B5C2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a6a7f2;
/* rgb */ color: rgb(166, 167, 242);
/* oklch */ color: oklch(75.6% 0.107 282.9);
Tailwind
colors: {
  custom: {
    50: '#c2c1f6',
    500: '#a6a7f2',
    950: '#000000',
  },
}
SCSS
$custom: #a6a7f2;
$custom-light: #c2c1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a7f2",
  "rgb": {
    "r": 166,
    "g": 167,
    "b": 242
  },
  "hsl": {
    "h": 239.211,
    "s": 74.51,
    "l": 80
  },
  "oklch": {
    "l": 0.756,
    "c": 0.10714,
    "h": 282.9
  },
  "luminance": 0.42155
}

Semantic roles & 50–950 ramp

primary
#A6A7F2
secondary
#F3F2D8
accent
#D40FD7
background
#FCFBFF
surface
#F8F7FE
border
#D1D0D6
text
#131217
muted
#828185

Preview Lab

Preview with #A6A7F2

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

Preview Lab → · Contrast checker → · Palette generator →

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