#A5AFFE#A5AFFE

#A5AFFE is a light, moderate blue. Relative luminance 0.458; OKLCH L 77.6% C 0.113 H 277.9°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#A5AFFE
RGBrgb(165, 175, 254)
HSLhsl(233, 98%, 82%)
HSVhsv(233, 35%, 100%)
CMYKcmyk(35%, 31.1%, 0%, 0.4%)
CIE-LABlab(73.42, 14.73, -40.24)
CIE-LCHlch(73.42, 42.85, 290.11°)
OKLaboklab(77.64% 0.0155 -0.1122)
OKLCHoklch(77.64% 0.113 277.9)
XYZxyz(48.7313, 45.8133, 100.0219)
Luminance0.4582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AFFE #FEF4A5
analogous
#A5DCFE #A5AFFE #C7A5FE
triadic
#A5AFFE #FEA5AF #AFFEA5
tetradic
#A5AFFE #FEA5DC #FEF4A5 #A5FEC7
square
#A5AFFE #FEA5DC #FEF4A5 #A5FEC7
split-complementary
#A5AFFE #FEC7A5 #DCFEA5
monochromatic
#2C43FD #6879FD #A5AFFE #E1E4FF #E1E4FF

Accessibility & contrast

On white

2.07
#A5AFFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#A5AFFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AFFE
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AFFE#FFFFFF#000000##000000
##A5AFFE1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5affe;
/* rgb */ color: rgb(165, 175, 254);
/* oklch */ color: oklch(77.6% 0.113 277.9);
Tailwind
colors: {
  custom: {
    50: '#c2c6ff',
    500: '#a5affe',
    950: '#000000',
  },
}
SCSS
$custom: #a5affe;
$custom-light: #c2c6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a5affe",
  "rgb": {
    "r": 165,
    "g": 175,
    "b": 254
  },
  "hsl": {
    "h": 233.258,
    "s": 97.802,
    "l": 82.157
  },
  "oklch": {
    "l": 0.77635,
    "c": 0.11328,
    "h": 277.9
  },
  "luminance": 0.45815
}

Semantic roles & 50–950 ramp

primary
#A5AFFE
secondary
#F7F3D4
accent
#CC00E6
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131318
muted
#828286

Preview Lab

Preview with #A5AFFE

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

Preview Lab → · Contrast checker → · Palette generator →

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