#A7A2E7#A7A2E7

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

Color values

HEX#A7A2E7
RGBrgb(167, 162, 231)
HSLhsl(244, 59%, 77%)
HSVhsv(244, 30%, 91%)
CMYKcmyk(27.7%, 29.9%, 0%, 9.4%)
CIE-LABlab(69.34, 16.79, -34.07)
CIE-LCHlch(69.34, 37.98, 296.24°)
OKLaboklab(74.21% 0.029 -0.0944)
OKLCHoklch(74.21% 0.099 287)
XYZxyz(43.2768, 39.8248, 80.9927)
Luminance0.3983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A2E7 #E2E7A2
analogous
#A2C0E7 #A7A2E7 #CAA2E7
triadic
#A7A2E7 #E7A7A2 #A2E7A7
tetradic
#A7A2E7 #E7A2C0 #E2E7A2 #A2E7CA
square
#A7A2E7 #E7A2C0 #E2E7A2 #A2E7CA
split-complementary
#A7A2E7 #E7CAA2 #C0E7A2
monochromatic
#4B41CE #7971DA #A7A2E7 #D5D3F4 #E8E7F9

Accessibility & contrast

On white

2.34
#A7A2E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#A7A2E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A2E7
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A2E7#FFFFFF#000000##000000
##A7A2E71.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FABEA
Deuteranopia (green-blind)
#8EA8E5
Tritanopia (blue-blind)
#98AEBB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a7a2e7;
/* rgb */ color: rgb(167, 162, 231);
/* oklch */ color: oklch(74.2% 0.099 287.0);
Tailwind
colors: {
  custom: {
    50: '#c2bdef',
    500: '#a7a2e7',
    950: '#000000',
  },
}
SCSS
$custom: #a7a2e7;
$custom-light: #c2bdef;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a2e7",
  "rgb": {
    "r": 167,
    "g": 162,
    "b": 231
  },
  "hsl": {
    "h": 244.348,
    "s": 58.974,
    "l": 77.059
  },
  "oklch": {
    "l": 0.74212,
    "c": 0.09876,
    "h": 287
  },
  "luminance": 0.39826
}

Semantic roles & 50–950 ramp

primary
#A7A2E7
secondary
#EFF0DB
accent
#C71FBA
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#121216
muted
#818184

Preview Lab

Preview with #A7A2E7

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

Preview Lab → · Contrast checker → · Palette generator →

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