#A8A7DB#A8A7DB

#A8A7DB is a light, moderate blue. Relative luminance 0.411; OKLCH L 74.8% C 0.074 H 285.3°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#A8A7DB
RGBrgb(168, 167, 219)
HSLhsl(241, 42%, 76%)
HSVhsv(241, 24%, 86%)
CMYKcmyk(23.3%, 23.7%, 0%, 14.1%)
CIE-LABlab(70.23, 11.41, -26.12)
CIE-LCHlch(70.23, 28.50, 293.61°)
OKLaboklab(74.76% 0.0197 -0.0718)
OKLCHoklch(74.76% 0.074 285.3)
XYZxyz(42.7502, 41.0760, 72.6802)
Luminance0.4108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A7DB #DADBA7
analogous
#A7C0DB #A8A7DB #C2A7DB
triadic
#A8A7DB #DBA8A7 #A7DBA8
tetradic
#A8A7DB #DBA7C0 #DADBA7 #A7DBC2
square
#A8A7DB #DBA7C0 #DADBA7 #A7DBC2
split-complementary
#A8A7DB #DBC2A7 #C0DBA7
monochromatic
#5250B7 #7D7CC9 #A8A7DB #D3D2ED #EAE9F6

Accessibility & contrast

On white

2.28
#A8A7DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#A8A7DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A7DB
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A7DB#FFFFFF#000000##000000
##A8A7DB1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AADDD
Deuteranopia (green-blind)
#98AADA
Tritanopia (blue-blind)
#9DB0B9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a8a7db;
/* rgb */ color: rgb(168, 167, 219);
/* oklch */ color: oklch(74.8% 0.074 285.3);
Tailwind
colors: {
  custom: {
    50: '#c2c1e6',
    500: '#a8a7db',
    950: '#000000',
  },
}
SCSS
$custom: #a8a7db;
$custom-light: #c2c1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a7db",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 219
  },
  "hsl": {
    "h": 241.154,
    "s": 41.935,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74762,
    "c": 0.07444,
    "h": 285.3
  },
  "luminance": 0.41077
}

Semantic roles & 50–950 ramp

primary
#A8A7DB
secondary
#EDEDDE
accent
#B530B2
background
#FCFBFE
surface
#F8F7FC
border
#D1D0D5
text
#121216
muted
#818184

Preview Lab

Preview with #A8A7DB

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

Preview Lab → · Contrast checker → · Palette generator →

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