#A5AFFB#A5AFFB

#A5AFFB is a light, moderate blue. Relative luminance 0.456; OKLCH L 77.5% C 0.109 H 277.8°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#A5AFFB
RGBrgb(165, 175, 251)
HSLhsl(233, 91%, 82%)
HSVhsv(233, 34%, 98%)
CMYKcmyk(34.3%, 30.3%, 0%, 1.6%)
CIE-LABlab(73.30, 13.96, -38.81)
CIE-LCHlch(73.30, 41.25, 289.78°)
OKLaboklab(77.5% 0.0148 -0.1081)
OKLCHoklch(77.5% 0.109 277.8)
XYZxyz(48.2547, 45.6226, 97.5116)
Luminance0.4562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AFFB #FBF1A5
analogous
#A5DAFB #A5AFFB #C6A5FB
triadic
#A5AFFB #FBA5AF #AFFBA5
tetradic
#A5AFFB #FBA5DA #FBF1A5 #A5FBC6
square
#A5AFFB #FBA5DA #FBF1A5 #A5FBC6
split-complementary
#A5AFFB #FBC6A5 #DAFBA5
monochromatic
#3047F6 #6A7BF8 #A5AFFB #E0E3FE #E2E5FE

Accessibility & contrast

On white

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

On black

10.12
#A5AFFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AFFB
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AFFB#FFFFFF#000000##000000
##A5AFFB1.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B7FE
Deuteranopia (green-blind)
#92B1F9
Tritanopia (blue-blind)
#8DBECA
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a5affb;
/* rgb */ color: rgb(165, 175, 251);
/* oklch */ color: oklch(77.5% 0.109 277.8);
Tailwind
colors: {
  custom: {
    50: '#c2c6fd',
    500: '#a5affb',
    950: '#000000',
  },
}
SCSS
$custom: #a5affb;
$custom-light: #c2c6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a5affb",
  "rgb": {
    "r": 165,
    "g": 175,
    "b": 251
  },
  "hsl": {
    "h": 233.023,
    "s": 91.489,
    "l": 81.569
  },
  "oklch": {
    "l": 0.77498,
    "c": 0.1091,
    "h": 277.8
  },
  "luminance": 0.45624
}

Semantic roles & 50–950 ramp

primary
#A5AFFB
secondary
#F6F2D5
accent
#CB00E6
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131317
muted
#828285

Preview Lab

Preview with #A5AFFB

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

Preview Lab → · Contrast checker → · Palette generator →

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