#A7A1EE#A7A1EE

#A7A1EE is a light, moderate blue. Relative luminance 0.399; OKLCH L 74.3% C 0.110 H 287.0°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#A7A1EE
RGBrgb(167, 161, 238)
HSLhsl(245, 69%, 78%)
HSVhsv(245, 32%, 93%)
CMYKcmyk(29.8%, 32.4%, 0%, 6.7%)
CIE-LABlab(69.38, 19.09, -37.84)
CIE-LCHlch(69.38, 42.38, 296.76°)
OKLaboklab(74.34% 0.0321 -0.1052)
OKLCHoklch(74.34% 0.11 287)
XYZxyz(44.1098, 39.8773, 86.2454)
Luminance0.3988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A1EE #E8EEA1
analogous
#A1C1EE #A7A1EE #CDA1EE
triadic
#A7A1EE #EEA7A1 #A1EEA7
tetradic
#A7A1EE #EEA1C1 #E8EEA1 #A1EECD
square
#A7A1EE #EEA1C1 #E8EEA1 #A1EECD
split-complementary
#A7A1EE #EECDA1 #C1EEA1
monochromatic
#4639DB #766DE5 #A7A1EE #D8D5F7 #E7E5FA

Accessibility & contrast

On white

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

On black

8.98
#A7A1EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A1EE
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A1EE#FFFFFF#000000##000000
##A7A1EE1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BABF1
Deuteranopia (green-blind)
#8AA7EC
Tritanopia (blue-blind)
#96AFBD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a7a1ee;
/* rgb */ color: rgb(167, 161, 238);
/* oklch */ color: oklch(74.3% 0.110 287.0);
Tailwind
colors: {
  custom: {
    50: '#c3bcf4',
    500: '#a7a1ee',
    950: '#000000',
  },
}
SCSS
$custom: #a7a1ee;
$custom-light: #c3bcf4;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a1ee",
  "rgb": {
    "r": 167,
    "g": 161,
    "b": 238
  },
  "hsl": {
    "h": 244.675,
    "s": 69.369,
    "l": 78.235
  },
  "oklch": {
    "l": 0.74336,
    "c": 0.11003,
    "h": 287
  },
  "luminance": 0.39878
}

Semantic roles & 50–950 ramp

primary
#A7A1EE
secondary
#F0F2D9
accent
#D114C3
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #A7A1EE

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

Preview Lab → · Contrast checker → · Palette generator →

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