#A6AFFE#A6AFFE

#A6AFFE is a light, moderate blue. Relative luminance 0.459; OKLCH L 77.7% C 0.113 H 278.4°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#A6AFFE
RGBrgb(166, 175, 254)
HSLhsl(234, 98%, 82%)
HSVhsv(234, 35%, 100%)
CMYKcmyk(34.6%, 31.1%, 0%, 0.4%)
CIE-LABlab(73.49, 15.00, -40.13)
CIE-LCHlch(73.49, 42.84, 290.50°)
OKLaboklab(77.71% 0.0166 -0.1119)
OKLCHoklch(77.71% 0.113 278.4)
XYZxyz(48.9402, 45.9209, 100.0317)
Luminance0.4592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AFFE #FEF5A6
analogous
#A6DBFE #A6AFFE #C9A6FE
triadic
#A6AFFE #FEA6AF #AFFEA6
tetradic
#A6AFFE #FEA6DB #FEF5A6 #A6FEC9
square
#A6AFFE #FEA6DB #FEF5A6 #A6FEC9
split-complementary
#A6AFFE #FEC9A6 #DBFEA6
monochromatic
#2D42FD #6979FD #A6AFFE #E1E4FF #E1E4FF

Accessibility & contrast

On white

2.06
#A6AFFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#A6AFFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AFFE
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AFFE#FFFFFF#000000##000000
##A6AFFE1.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B8FF
Deuteranopia (green-blind)
#91B1FC
Tritanopia (blue-blind)
#8EBECB
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a6affe;
/* rgb */ color: rgb(166, 175, 254);
/* oklch */ color: oklch(77.7% 0.113 278.4);
Tailwind
colors: {
  custom: {
    50: '#c3c6ff',
    500: '#a6affe',
    950: '#000000',
  },
}
SCSS
$custom: #a6affe;
$custom-light: #c3c6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a6affe",
  "rgb": {
    "r": 166,
    "g": 175,
    "b": 254
  },
  "hsl": {
    "h": 233.864,
    "s": 97.778,
    "l": 82.353
  },
  "oklch": {
    "l": 0.77707,
    "c": 0.11308,
    "h": 278.4
  },
  "luminance": 0.45923
}

Semantic roles & 50–950 ramp

primary
#A6AFFE
secondary
#F7F3D4
accent
#CE00E6
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131318
muted
#828286

Preview Lab

Preview with #A6AFFE

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

Preview Lab → · Contrast checker → · Palette generator →

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