#A2A2EC#A2A2EC

#A2A2EC is a light, moderate blue. Relative luminance 0.396; OKLCH L 74.0% C 0.106 H 283.5°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#A2A2EC
RGBrgb(162, 162, 236)
HSLhsl(240, 66%, 78%)
HSVhsv(240, 31%, 93%)
CMYKcmyk(31.4%, 31.4%, 0%, 7.5%)
CIE-LABlab(69.17, 16.61, -37.11)
CIE-LCHlch(69.17, 40.66, 294.11°)
OKLaboklab(74.05% 0.0248 -0.1032)
OKLCHoklch(74.05% 0.106 283.5)
XYZxyz(42.9569, 39.5770, 84.7164)
Luminance0.3958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A2EC #ECECA2
analogous
#A2C7EC #A2A2EC #C7A2EC
triadic
#A2A2EC #ECA2A2 #A2ECA2
tetradic
#A2A2EC #ECA2C7 #ECECA2 #A2ECC7
square
#A2A2EC #ECA2C7 #ECECA2 #A2ECC7
split-complementary
#A2A2EC #ECC7A2 #C7ECA2
monochromatic
#3C3CD7 #6F6FE2 #A2A2EC #D5D5F6 #E6E6FA

Accessibility & contrast

On white

2.36
#A2A2EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#A2A2EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A2EC
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A2EC#FFFFFF#000000##000000
##A2A2EC1.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CABEF
Deuteranopia (green-blind)
#8AA7EA
Tritanopia (blue-blind)
#8FB0BD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a2a2ec;
/* rgb */ color: rgb(162, 162, 236);
/* oklch */ color: oklch(74.0% 0.106 283.5);
Tailwind
colors: {
  custom: {
    50: '#bfbdf2',
    500: '#a2a2ec',
    950: '#000000',
  },
}
SCSS
$custom: #a2a2ec;
$custom-light: #bfbdf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a2ec",
  "rgb": {
    "r": 162,
    "g": 162,
    "b": 236
  },
  "hsl": {
    "h": 240,
    "s": 66.071,
    "l": 78.039
  },
  "oklch": {
    "l": 0.74048,
    "c": 0.10616,
    "h": 283.5
  },
  "luminance": 0.39578
}

Semantic roles & 50–950 ramp

primary
#A2A2EC
secondary
#F1F1DA
accent
#CE18CE
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121217
muted
#818185

Preview Lab

Preview with #A2A2EC

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

Preview Lab → · Contrast checker → · Palette generator →

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