#A2A2EF#A2A2EF

#A2A2EF is a light, moderate blue. Relative luminance 0.398; OKLCH L 74.2% C 0.110 H 283.4°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#A2A2EF
RGBrgb(162, 162, 239)
HSLhsl(240, 71%, 79%)
HSVhsv(240, 32%, 94%)
CMYKcmyk(32.2%, 32.2%, 0%, 6.3%)
CIE-LABlab(69.29, 17.37, -38.55)
CIE-LCHlch(69.29, 42.29, 294.25°)
OKLaboklab(74.19% 0.0255 -0.1074)
OKLCHoklch(74.19% 0.11 283.4)
XYZxyz(43.3964, 39.7528, 87.0312)
Luminance0.3975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A2EF #EFEFA2
analogous
#A2C8EF #A2A2EF #C8A2EF
triadic
#A2A2EF #EFA2A2 #A2EFA2
tetradic
#A2A2EF #EFA2C8 #EFEFA2 #A2EFC8
square
#A2A2EF #EFA2C8 #EFEFA2 #A2EFC8
split-complementary
#A2A2EF #EFC8A2 #C8EFA2
monochromatic
#3A3ADD #6E6EE6 #A2A2EF #D6D6F8 #E5E5FB

Accessibility & contrast

On white

2.35
#A2A2EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#A2A2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A2EF
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A2EF#FFFFFF#000000##000000
##A2A2EF1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BACF2
Deuteranopia (green-blind)
#88A7ED
Tritanopia (blue-blind)
#8EB0BE
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a2a2ef;
/* rgb */ color: rgb(162, 162, 239);
/* oklch */ color: oklch(74.2% 0.110 283.4);
Tailwind
colors: {
  custom: {
    50: '#bfbdf4',
    500: '#a2a2ef',
    950: '#000000',
  },
}
SCSS
$custom: #a2a2ef;
$custom-light: #bfbdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a2ef",
  "rgb": {
    "r": 162,
    "g": 162,
    "b": 239
  },
  "hsl": {
    "h": 240,
    "s": 70.642,
    "l": 78.627
  },
  "oklch": {
    "l": 0.74187,
    "c": 0.11039,
    "h": 283.4
  },
  "luminance": 0.39754
}

Semantic roles & 50–950 ramp

primary
#A2A2EF
secondary
#F2F2D9
accent
#D313D3
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121217
muted
#818185

Preview Lab

Preview with #A2A2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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