#A8A7DF#A8A7DF

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

Color values

HEX#A8A7DF
RGBrgb(168, 167, 223)
HSLhsl(241, 47%, 76%)
HSVhsv(241, 25%, 87%)
CMYKcmyk(24.7%, 25.1%, 0%, 12.5%)
CIE-LABlab(70.38, 12.36, -28.08)
CIE-LCHlch(70.38, 30.68, 293.75°)
OKLaboklab(74.93% 0.0209 -0.0774)
OKLCHoklch(74.93% 0.08 285.1)
XYZxyz(43.2831, 41.2891, 75.4869)
Luminance0.4129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A7DF #DEDFA7
analogous
#A7C2DF #A8A7DF #C4A7DF
triadic
#A8A7DF #DFA8A7 #A7DFA8
tetradic
#A8A7DF #DFA7C2 #DEDFA7 #A7DFC4
square
#A8A7DF #DFA7C2 #DEDFA7 #A7DFC4
split-complementary
#A8A7DF #DFC4A7 #C2DFA7
monochromatic
#4F4DBE #7C7ACF #A8A7DF #D4D4EF #E9E9F7

Accessibility & contrast

On white

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

On black

9.26
#A8A7DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A7DF
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A7DF#FFFFFF#000000##000000
##A8A7DF1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#98AEE1
Deuteranopia (green-blind)
#97AADE
Tritanopia (blue-blind)
#9BB1BA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a8a7df;
/* rgb */ color: rgb(168, 167, 223);
/* oklch */ color: oklch(74.9% 0.080 285.1);
Tailwind
colors: {
  custom: {
    50: '#c3c1e9',
    500: '#a8a7df',
    950: '#000000',
  },
}
SCSS
$custom: #a8a7df;
$custom-light: #c3c1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a7df",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 223
  },
  "hsl": {
    "h": 241.071,
    "s": 46.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.74927,
    "c": 0.08013,
    "h": 285.1
  },
  "luminance": 0.4129
}

Semantic roles & 50–950 ramp

primary
#A8A7DF
secondary
#EEEEDD
accent
#BA2CB7
background
#FCFBFE
surface
#F8F7FC
border
#D1D0D5
text
#121216
muted
#818184

Preview Lab

Preview with #A8A7DF

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

Preview Lab → · Contrast checker → · Palette generator →

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