#A7AFF2#A7AFF2

#A7AFF2 is a light, moderate blue. Relative luminance 0.453; OKLCH L 77.2% C 0.096 H 278.6°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#A7AFF2
RGBrgb(167, 175, 242)
HSLhsl(234, 74%, 80%)
HSVhsv(234, 31%, 95%)
CMYKcmyk(31%, 27.7%, 0%, 5.1%)
CIE-LABlab(73.08, 12.23, -34.28)
CIE-LCHlch(73.08, 36.39, 289.64°)
OKLaboklab(77.24% 0.0144 -0.095)
OKLCHoklch(77.24% 0.096 278.6)
XYZxyz(47.2889, 45.2848, 90.2365)
Luminance0.4529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AFF2 #F2EAA7
analogous
#A7D4F2 #A7AFF2 #C4A7F2
triadic
#A7AFF2 #F2A7AF #AFF2A7
tetradic
#A7AFF2 #F2A7D4 #F2EAA7 #A7F2C4
square
#A7AFF2 #F2A7D4 #F2EAA7 #A7F2C4
split-complementary
#A7AFF2 #F2C4A7 #D4F2A7
monochromatic
#3C4EE2 #727FEA #A7AFF2 #DCDFFA #E4E7FB

Accessibility & contrast

On white

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

On black

10.06
#A7AFF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AFF2
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AFF2#FFFFFF#000000##000000
##A7AFF21.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7aff2;
/* rgb */ color: rgb(167, 175, 242);
/* oklch */ color: oklch(77.2% 0.096 278.6);
Tailwind
colors: {
  custom: {
    50: '#c3c6f6',
    500: '#a7aff2',
    950: '#000000',
  },
}
SCSS
$custom: #a7aff2;
$custom-light: #c3c6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a7aff2",
  "rgb": {
    "r": 167,
    "g": 175,
    "b": 242
  },
  "hsl": {
    "h": 233.6,
    "s": 74.257,
    "l": 80.196
  },
  "oklch": {
    "l": 0.77243,
    "c": 0.09614,
    "h": 278.6
  },
  "luminance": 0.45286
}

Semantic roles & 50–950 ramp

primary
#A7AFF2
secondary
#F3F0D8
accent
#C10FD6
background
#FCFCFF
surface
#F8F8FE
border
#D1D1D6
text
#131317
muted
#828285

Preview Lab

Preview with #A7AFF2

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

Preview Lab → · Contrast checker → · Palette generator →

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