#A8A7EB#A8A7EB

#A8A7EB is a light, moderate blue. Relative luminance 0.420; OKLCH L 75.4% C 0.097 H 284.5°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#A8A7EB
RGBrgb(168, 167, 235)
HSLhsl(241, 63%, 79%)
HSVhsv(241, 29%, 92%)
CMYKcmyk(28.5%, 28.9%, 0%, 7.8%)
CIE-LABlab(70.84, 15.26, -33.93)
CIE-LCHlch(70.84, 37.20, 294.21°)
OKLaboklab(75.44% 0.0243 -0.094)
OKLCHoklch(75.44% 0.097 284.5)
XYZxyz(44.9587, 41.9594, 84.3114)
Luminance0.4196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A7EB #EAEBA7
analogous
#A7C8EB #A8A7EB #CAA7EB
triadic
#A8A7EB #EBA8A7 #A7EBA8
tetradic
#A8A7EB #EBA7C8 #EAEBA7 #A7EBCA
square
#A8A7EB #EBA7C8 #EAEBA7 #A7EBCA
split-complementary
#A8A7EB #EBCAA7 #C8EBA7
monochromatic
#4543D4 #7775E0 #A8A7EB #D9D9F6 #E6E6F9

Accessibility & contrast

On white

2.24
#A8A7EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#A8A7EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A7EB
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A7EB#FFFFFF#000000##000000
##A8A7EB1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AFEE
Deuteranopia (green-blind)
#92ABE9
Tritanopia (blue-blind)
#98B3BF
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a8a7eb;
/* rgb */ color: rgb(168, 167, 235);
/* oklch */ color: oklch(75.4% 0.097 284.5);
Tailwind
colors: {
  custom: {
    50: '#c3c1f1',
    500: '#a8a7eb',
    950: '#000000',
  },
}
SCSS
$custom: #a8a7eb;
$custom-light: #c3c1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a7eb",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 235
  },
  "hsl": {
    "h": 240.882,
    "s": 62.963,
    "l": 78.824
  },
  "oklch": {
    "l": 0.7544,
    "c": 0.0971,
    "h": 284.5
  },
  "luminance": 0.4196
}

Semantic roles & 50–950 ramp

primary
#A8A7EB
secondary
#F0F1DA
accent
#CB1BC8
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #A8A7EB

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

Preview Lab → · Contrast checker → · Palette generator →

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