#A7A2E6#A7A2E6

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

Color values

HEX#A7A2E6
RGBrgb(167, 162, 230)
HSLhsl(244, 58%, 77%)
HSVhsv(244, 30%, 90%)
CMYKcmyk(27.4%, 29.6%, 0%, 9.8%)
CIE-LABlab(69.30, 16.55, -33.58)
CIE-LCHlch(69.30, 37.44, 296.24°)
OKLaboklab(74.17% 0.0287 -0.093)
OKLCHoklch(74.17% 0.097 287.1)
XYZxyz(43.1360, 39.7684, 80.2510)
Luminance0.3977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A2E6 #E1E6A2
analogous
#A2BFE6 #A7A2E6 #C9A2E6
triadic
#A7A2E6 #E6A7A2 #A2E6A7
tetradic
#A7A2E6 #E6A2BF #E1E6A2 #A2E6C9
square
#A7A2E6 #E6A2BF #E1E6A2 #A2E6C9
split-complementary
#A7A2E6 #E6C9A2 #BFE6A2
monochromatic
#4C42CC #7972D9 #A7A2E6 #D5D2F3 #E8E7F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7A2E6#FFFFFF#000000##000000
##A7A2E61.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)
#90ABE9
Deuteranopia (green-blind)
#8EA7E4
Tritanopia (blue-blind)
#98AEBA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a7a2e6;
/* rgb */ color: rgb(167, 162, 230);
/* oklch */ color: oklch(74.2% 0.097 287.1);
Tailwind
colors: {
  custom: {
    50: '#c2bdee',
    500: '#a7a2e6',
    950: '#000000',
  },
}
SCSS
$custom: #a7a2e6;
$custom-light: #c2bdee;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a2e6",
  "rgb": {
    "r": 167,
    "g": 162,
    "b": 230
  },
  "hsl": {
    "h": 244.412,
    "s": 57.627,
    "l": 76.863
  },
  "oklch": {
    "l": 0.74168,
    "c": 0.09735,
    "h": 287.1
  },
  "luminance": 0.39769
}

Semantic roles & 50–950 ramp

primary
#A7A2E6
secondary
#EEF0DB
accent
#C520B9
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#121216
muted
#818184

Preview Lab

Preview with #A7A2E6

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

Preview Lab → · Contrast checker → · Palette generator →

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