#A8AFEE#A8AFEE

#A8AFEE is a light, moderate blue. Relative luminance 0.452; OKLCH L 77.1% C 0.090 H 279.1°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#A8AFEE
RGBrgb(168, 175, 238)
HSLhsl(234, 67%, 80%)
HSVhsv(234, 29%, 93%)
CMYKcmyk(29.4%, 26.5%, 0%, 6.7%)
CIE-LABlab(72.99, 11.53, -32.23)
CIE-LCHlch(72.99, 34.23, 289.68°)
OKLaboklab(77.14% 0.0144 -0.0892)
OKLCHoklch(77.14% 0.09 279.1)
XYZxyz(46.9069, 45.1565, 87.1170)
Luminance0.4516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AFEE #EEE7A8
analogous
#A8D2EE #A8AFEE #C4A8EE
triadic
#A8AFEE #EEA8AF #AFEEA8
tetradic
#A8AFEE #EEA8D2 #EEE7A8 #A8EEC4
square
#A8AFEE #EEA8D2 #EEE7A8 #A8EEC4
split-complementary
#A8AFEE #EEC4A8 #D2EEA8
monochromatic
#4251DA #7580E4 #A8AFEE #DBDEF8 #E5E7FA

Accessibility & contrast

On white

2.09
#A8AFEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#A8AFEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AFEE
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AFEE#FFFFFF#000000##000000
##A8AFEE1.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB6F1
Deuteranopia (green-blind)
#99B1EC
Tritanopia (blue-blind)
#96BBC5
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #a8afee;
/* rgb */ color: rgb(168, 175, 238);
/* oklch */ color: oklch(77.1% 0.090 279.1);
Tailwind
colors: {
  custom: {
    50: '#c3c6f3',
    500: '#a8afee',
    950: '#000000',
  },
}
SCSS
$custom: #a8afee;
$custom-light: #c3c6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a8afee",
  "rgb": {
    "r": 168,
    "g": 175,
    "b": 238
  },
  "hsl": {
    "h": 234,
    "s": 67.308,
    "l": 79.608
  },
  "oklch": {
    "l": 0.77144,
    "c": 0.09034,
    "h": 279.1
  },
  "luminance": 0.45158
}

Semantic roles & 50–950 ramp

primary
#A8AFEE
secondary
#F2EFD9
accent
#BD16CF
background
#FCFCFE
surface
#F8F8FD
border
#D1D1D5
text
#131317
muted
#828285

Preview Lab

Preview with #A8AFEE

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

Preview Lab → · Contrast checker → · Palette generator →

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