#A8AFF2#A8AFF2

#A8AFF2 is a light, moderate blue. Relative luminance 0.454; OKLCH L 77.3% C 0.096 H 279.3°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#A8AFF2
RGBrgb(168, 175, 242)
HSLhsl(234, 74%, 80%)
HSVhsv(234, 31%, 95%)
CMYKcmyk(30.6%, 27.7%, 0%, 5.1%)
CIE-LABlab(73.15, 12.52, -34.16)
CIE-LCHlch(73.15, 36.38, 290.12°)
OKLaboklab(77.32% 0.0155 -0.0947)
OKLCHoklch(77.32% 0.096 279.3)
XYZxyz(47.5011, 45.3942, 90.2464)
Luminance0.4540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AFF2 #F2EBA8
analogous
#A8D4F2 #A8AFF2 #C6A8F2
triadic
#A8AFF2 #F2A8AF #AFF2A8
tetradic
#A8AFF2 #F2A8D4 #F2EBA8 #A8F2C6
square
#A8AFF2 #F2A8D4 #F2EBA8 #A8F2C6
split-complementary
#A8AFF2 #F2C6A8 #D4F2A8
monochromatic
#3E4DE2 #737EEA #A8AFF2 #DDE0FA #E4E7FB

Accessibility & contrast

On white

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

On black

10.08
#A8AFF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AFF2
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AFF2#FFFFFF#000000##000000
##A8AFF21.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB6F5
Deuteranopia (green-blind)
#97B1F0
Tritanopia (blue-blind)
#95BBC7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a8aff2;
/* rgb */ color: rgb(168, 175, 242);
/* oklch */ color: oklch(77.3% 0.096 279.3);
Tailwind
colors: {
  custom: {
    50: '#c3c6f6',
    500: '#a8aff2',
    950: '#000000',
  },
}
SCSS
$custom: #a8aff2;
$custom-light: #c3c6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a8aff2",
  "rgb": {
    "r": 168,
    "g": 175,
    "b": 242
  },
  "hsl": {
    "h": 234.324,
    "s": 74,
    "l": 80.392
  },
  "oklch": {
    "l": 0.77317,
    "c": 0.09596,
    "h": 279.3
  },
  "luminance": 0.45396
}

Semantic roles & 50–950 ramp

primary
#A8AFF2
secondary
#F3F0D8
accent
#C30FD6
background
#FCFCFF
surface
#F8F8FE
border
#D1D1D6
text
#131317
muted
#828285

Preview Lab

Preview with #A8AFF2

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

Preview Lab → · Contrast checker → · Palette generator →

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