#A6BAFA#A6BAFA

#A6BAFA is a light, moderate blue. Relative luminance 0.501; OKLCH L 79.7% C 0.094 H 270.8°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#A6BAFA
RGBrgb(166, 186, 250)
HSLhsl(226, 89%, 82%)
HSVhsv(226, 34%, 98%)
CMYKcmyk(33.6%, 25.6%, 0%, 2%)
CIE-LABlab(76.15, 7.88, -33.86)
CIE-LCHlch(76.15, 34.76, 283.10°)
OKLaboklab(79.71% 0.0013 -0.0939)
OKLCHoklch(79.71% 0.094 270.8)
XYZxyz(50.5351, 50.1250, 97.4364)
Luminance0.5013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BAFA #FAE6A6
analogous
#A6E4FA #A6BAFA #BCA6FA
triadic
#A6BAFA #FAA6BA #BAFAA6
tetradic
#A6BAFA #FAA6E4 #FAE6A6 #A6FABC
square
#A6BAFA #FAA6E4 #FAE6A6 #A6FABC
split-complementary
#A6BAFA #FABCA6 #E4FAA6
monochromatic
#3260F3 #6C8DF7 #A6BAFA #E0E7FD #E2E9FD

Accessibility & contrast

On white

1.90
#A6BAFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#A6BAFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BAFA
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BAFA#FFFFFF#000000##000000
##A6BAFA1.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6C0FD
Deuteranopia (green-blind)
#9FB9F8
Tritanopia (blue-blind)
#8EC7D0
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #a6bafa;
/* rgb */ color: rgb(166, 186, 250);
/* oklch */ color: oklch(79.7% 0.094 270.8);
Tailwind
colors: {
  custom: {
    50: '#c2cefc',
    500: '#a6bafa',
    950: '#000000',
  },
}
SCSS
$custom: #a6bafa;
$custom-light: #c2cefc;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bafa",
  "rgb": {
    "r": 166,
    "g": 186,
    "b": 250
  },
  "hsl": {
    "h": 225.714,
    "s": 89.362,
    "l": 81.569
  },
  "oklch": {
    "l": 0.7971,
    "c": 0.0939,
    "h": 270.8
  },
  "luminance": 0.50127
}

Semantic roles & 50–950 ramp

primary
#A6BAFA
secondary
#DCC168
accent
#AF00E6
background
#FDFEFF
surface
#F9FAFF
border
#D2D3D7
text
#131317
muted
#828385

Preview Lab

Preview with #A6BAFA

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

Preview Lab → · Contrast checker → · Palette generator →

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