#A1AFFE#A1AFFE

#A1AFFE is a light, moderate blue. Relative luminance 0.454; OKLCH L 77.4% C 0.114 H 275.7°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#A1AFFE
RGBrgb(161, 175, 254)
HSLhsl(231, 98%, 81%)
HSVhsv(231, 37%, 100%)
CMYKcmyk(36.6%, 31.1%, 0%, 0.4%)
CIE-LABlab(73.15, 13.67, -40.69)
CIE-LCHlch(73.15, 42.93, 288.57°)
OKLaboklab(77.35% 0.0114 -0.1136)
OKLCHoklch(77.35% 0.114 275.7)
XYZxyz(47.9121, 45.3908, 99.9835)
Luminance0.4539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AFFE #FEF0A1
analogous
#A1DEFE #A1AFFE #C2A1FE
triadic
#A1AFFE #FEA1AF #AFFEA1
tetradic
#A1AFFE #FEA1DE #FEF0A1 #A1FEC2
square
#A1AFFE #FEA1DE #FEF0A1 #A1FEC2
split-complementary
#A1AFFE #FEC2A1 #DEFEA1
monochromatic
#2848FD #647BFD #A1AFFE #DEE3FF #E1E5FF

Accessibility & contrast

On white

2.08
#A1AFFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#A1AFFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1AFFE
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1AFFE#FFFFFF#000000##000000
##A1AFFE1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B7FF
Deuteranopia (green-blind)
#8FB0FC
Tritanopia (blue-blind)
#86BECB
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a1affe;
/* rgb */ color: rgb(161, 175, 254);
/* oklch */ color: oklch(77.4% 0.114 275.7);
Tailwind
colors: {
  custom: {
    50: '#bfc6ff',
    500: '#a1affe',
    950: '#000000',
  },
}
SCSS
$custom: #a1affe;
$custom-light: #bfc6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a1affe",
  "rgb": {
    "r": 161,
    "g": 175,
    "b": 254
  },
  "hsl": {
    "h": 230.968,
    "s": 97.895,
    "l": 81.373
  },
  "oklch": {
    "l": 0.77352,
    "c": 0.11414,
    "h": 275.7
  },
  "luminance": 0.45393
}

Semantic roles & 50–950 ramp

primary
#A1AFFE
secondary
#F7F2D4
accent
#C300E6
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#121318
muted
#818286

Preview Lab

Preview with #A1AFFE

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

Preview Lab → · Contrast checker → · Palette generator →

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