#A8AFE4#A8AFE4

#A8AFE4 is a light, moderate blue. Relative luminance 0.446; OKLCH L 76.7% C 0.076 H 278.6°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#A8AFE4
RGBrgb(168, 175, 228)
HSLhsl(233, 53%, 78%)
HSVhsv(233, 26%, 89%)
CMYKcmyk(26.3%, 23.2%, 0%, 10.6%)
CIE-LABlab(72.62, 9.10, -27.38)
CIE-LCHlch(72.62, 28.85, 288.39°)
OKLaboklab(76.73% 0.0114 -0.0754)
OKLCHoklch(76.73% 0.076 278.6)
XYZxyz(45.4783, 44.5851, 79.5934)
Luminance0.4459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AFE4 #E4DDA8
analogous
#A8CDE4 #A8AFE4 #BFA8E4
triadic
#A8AFE4 #E4A8AF #AFE4A8
tetradic
#A8AFE4 #E4A8CD #E4DDA8 #A8E4BF
square
#A8AFE4 #E4A8CD #E4DDA8 #A8E4BF
split-complementary
#A8AFE4 #E4BFA8 #CDE4A8
monochromatic
#4B59C7 #7984D6 #A8AFE4 #D7DAF2 #E8EAF8

Accessibility & contrast

On white

2.12
#A8AFE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#A8AFE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AFE4
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AFE4#FFFFFF#000000##000000
##A8AFE41.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0B4E6
Deuteranopia (green-blind)
#9DB0E3
Tritanopia (blue-blind)
#99B9C1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a8afe4;
/* rgb */ color: rgb(168, 175, 228);
/* oklch */ color: oklch(76.7% 0.076 278.6);
Tailwind
colors: {
  custom: {
    50: '#c3c6ec',
    500: '#a8afe4',
    950: '#000000',
  },
}
SCSS
$custom: #a8afe4;
$custom-light: #c3c6ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a8afe4",
  "rgb": {
    "r": 168,
    "g": 175,
    "b": 228
  },
  "hsl": {
    "h": 233,
    "s": 52.632,
    "l": 77.647
  },
  "oklch": {
    "l": 0.76727,
    "c": 0.07623,
    "h": 278.6
  },
  "luminance": 0.44586
}

Semantic roles & 50–950 ramp

primary
#A8AFE4
secondary
#EFEDDC
accent
#AE25C0
background
#FCFCFE
surface
#F8F8FD
border
#D1D1D5
text
#121316
muted
#818284

Preview Lab

Preview with #A8AFE4

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

Preview Lab → · Contrast checker → · Palette generator →

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