#A8AFFE#A8AFFE

#A8AFFE is a light, moderate blue. Relative luminance 0.461; OKLCH L 77.9% C 0.113 H 279.5°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#A8AFFE
RGBrgb(168, 175, 254)
HSLhsl(235, 98%, 83%)
HSVhsv(235, 34%, 100%)
CMYKcmyk(33.9%, 31.1%, 0%, 0.4%)
CIE-LABlab(73.64, 15.55, -39.90)
CIE-LCHlch(73.64, 42.82, 291.29°)
OKLaboklab(77.85% 0.0187 -0.1112)
OKLCHoklch(77.85% 0.113 279.5)
XYZxyz(49.3628, 46.1389, 100.0515)
Luminance0.4614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AFFE #FEF7A8
analogous
#A8DAFE #A8AFFE #CCA8FE
triadic
#A8AFFE #FEA8AF #AFFEA8
tetradic
#A8AFFE #FEA8DA #FEF7A8 #A8FECC
square
#A8AFFE #FEA8DA #FEF7A8 #A8FECC
split-complementary
#A8AFFE #FECCA8 #DAFEA8
monochromatic
#2F40FD #6B77FD #A8AFFE #E1E3FF #E1E3FF

Accessibility & contrast

On white

2.05
#A8AFFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#A8AFFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AFFE
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AFFE#FFFFFF#000000##000000
##A8AFFE1.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B8FF
Deuteranopia (green-blind)
#92B2FC
Tritanopia (blue-blind)
#91BECB
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a8affe;
/* rgb */ color: rgb(168, 175, 254);
/* oklch */ color: oklch(77.9% 0.113 279.5);
Tailwind
colors: {
  custom: {
    50: '#c4c6ff',
    500: '#a8affe',
    950: '#000000',
  },
}
SCSS
$custom: #a8affe;
$custom-light: #c4c6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a8affe",
  "rgb": {
    "r": 168,
    "g": 175,
    "b": 254
  },
  "hsl": {
    "h": 235.116,
    "s": 97.727,
    "l": 82.745
  },
  "oklch": {
    "l": 0.77851,
    "c": 0.11272,
    "h": 279.5
  },
  "luminance": 0.46141
}

Semantic roles & 50–950 ramp

primary
#A8AFFE
secondary
#F7F4D4
accent
#D300E6
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131318
muted
#828286

Preview Lab

Preview with #A8AFFE

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

Preview Lab → · Contrast checker → · Palette generator →

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