#A2A7EA#A2A7EA

#A2A7EA is a light, moderate blue. Relative luminance 0.413; OKLCH L 74.9% C 0.096 H 280.5°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#A2A7EA
RGBrgb(162, 167, 234)
HSLhsl(236, 63%, 78%)
HSVhsv(236, 31%, 92%)
CMYKcmyk(30.8%, 28.6%, 0%, 8.2%)
CIE-LABlab(70.36, 13.29, -34.17)
CIE-LCHlch(70.36, 36.66, 291.25°)
OKLaboklab(74.94% 0.0176 -0.0948)
OKLCHoklch(74.94% 0.096 280.5)
XYZxyz(43.5663, 41.2581, 83.4941)
Luminance0.4126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A7EA #EAE5A2
analogous
#A2CBEA #A2A7EA #C1A2EA
triadic
#A2A7EA #EAA2A7 #A7EAA2
tetradic
#A2A7EA #EAA2CB #EAE5A2 #A2EAC1
square
#A2A7EA #EAA2CB #EAE5A2 #A2EAC1
split-complementary
#A2A7EA #EAC1A2 #CBEAA2
monochromatic
#3E49D3 #7078DF #A2A7EA #D4D6F5 #E6E7F9

Accessibility & contrast

On white

2.27
#A2A7EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#A2A7EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A7EA
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A7EA#FFFFFF#000000##000000
##A2A7EA1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AFED
Deuteranopia (green-blind)
#90AAE8
Tritanopia (blue-blind)
#90B3BF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a2a7ea;
/* rgb */ color: rgb(162, 167, 234);
/* oklch */ color: oklch(74.9% 0.096 280.5);
Tailwind
colors: {
  custom: {
    50: '#bfc1f1',
    500: '#a2a7ea',
    950: '#000000',
  },
}
SCSS
$custom: #a2a7ea;
$custom-light: #bfc1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a7ea",
  "rgb": {
    "r": 162,
    "g": 167,
    "b": 234
  },
  "hsl": {
    "h": 235.833,
    "s": 63.158,
    "l": 77.647
  },
  "oklch": {
    "l": 0.74939,
    "c": 0.09642,
    "h": 280.5
  },
  "luminance": 0.41259
}

Semantic roles & 50–950 ramp

primary
#A2A7EA
secondary
#F1EFDA
accent
#BF1BCB
background
#FBFBFE
surface
#F7F7FD
border
#D0D0D5
text
#121216
muted
#818184

Preview Lab

Preview with #A2A7EA

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

Preview Lab → · Contrast checker → · Palette generator →

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