#A5AFFA#A5AFFA

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

Color values

HEX#A5AFFA
RGBrgb(165, 175, 250)
HSLhsl(233, 89%, 81%)
HSVhsv(233, 34%, 98%)
CMYKcmyk(34%, 30%, 0%, 2%)
CIE-LABlab(73.26, 13.70, -38.34)
CIE-LCHlch(73.26, 40.71, 289.67°)
OKLaboklab(77.45% 0.0145 -0.1067)
OKLCHoklch(77.45% 0.108 277.7)
XYZxyz(48.0975, 45.5597, 96.6836)
Luminance0.4556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AFFA #FAF0A5
analogous
#A5DAFA #A5AFFA #C6A5FA
triadic
#A5AFFA #FAA5AF #AFFAA5
tetradic
#A5AFFA #FAA5DA #FAF0A5 #A5FAC6
square
#A5AFFA #FAA5DA #FAF0A5 #A5FAC6
split-complementary
#A5AFFA #FAC6A5 #DAFAA5
monochromatic
#3148F4 #6B7BF7 #A5AFFA #DFE3FD #E2E5FD

Accessibility & contrast

On white

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

On black

10.11
#A5AFFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AFFA
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AFFA#FFFFFF#000000##000000
##A5AFFA1.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B7FD
Deuteranopia (green-blind)
#92B1F8
Tritanopia (blue-blind)
#8EBDCA
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a5affa;
/* rgb */ color: rgb(165, 175, 250);
/* oklch */ color: oklch(77.5% 0.108 277.7);
Tailwind
colors: {
  custom: {
    50: '#c2c6fc',
    500: '#a5affa',
    950: '#000000',
  },
}
SCSS
$custom: #a5affa;
$custom-light: #c2c6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a5affa",
  "rgb": {
    "r": 165,
    "g": 175,
    "b": 250
  },
  "hsl": {
    "h": 232.941,
    "s": 89.474,
    "l": 81.373
  },
  "oklch": {
    "l": 0.77453,
    "c": 0.10771,
    "h": 277.7
  },
  "luminance": 0.45561
}

Semantic roles & 50–950 ramp

primary
#A5AFFA
secondary
#F5F2D6
accent
#CA00E6
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131317
muted
#828285

Preview Lab

Preview with #A5AFFA

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

Preview Lab → · Contrast checker → · Palette generator →

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