#A5A7E8#A5A7E8

#A5A7E8 is a light, moderate blue. Relative luminance 0.415; OKLCH L 75.1% C 0.093 H 282.5°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#A5A7E8
RGBrgb(165, 167, 232)
HSLhsl(238, 59%, 78%)
HSVhsv(238, 29%, 91%)
CMYKcmyk(28.9%, 28%, 0%, 9%)
CIE-LABlab(70.50, 13.65, -32.84)
CIE-LCHlch(70.50, 35.57, 292.57°)
OKLaboklab(75.08% 0.0202 -0.091)
OKLCHoklch(75.08% 0.093 282.5)
XYZxyz(43.8974, 41.4618, 82.0184)
Luminance0.4146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A7E8 #E8E6A5
analogous
#A5C8E8 #A5A7E8 #C4A5E8
triadic
#A5A7E8 #E8A5A7 #A7E8A5
tetradic
#A5A7E8 #E8A5C8 #E8E6A5 #A5E8C4
square
#A5A7E8 #E8A5C8 #E8E6A5 #A5E8C4
split-complementary
#A5A7E8 #E8C4A5 #C8E8A5
monochromatic
#4448CF #7477DC #A5A7E8 #D6D7F4 #E7E7F9

Accessibility & contrast

On white

2.26
#A5A7E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#A5A7E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A7E8
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A7E8#FFFFFF#000000##000000
##A5A7E81.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#95AFEB
Deuteranopia (green-blind)
#92AAE6
Tritanopia (blue-blind)
#95B3BE
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a5a7e8;
/* rgb */ color: rgb(165, 167, 232);
/* oklch */ color: oklch(75.1% 0.093 282.5);
Tailwind
colors: {
  custom: {
    50: '#c1c1ef',
    500: '#a5a7e8',
    950: '#000000',
  },
}
SCSS
$custom: #a5a7e8;
$custom-light: #c1c1ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a7e8",
  "rgb": {
    "r": 165,
    "g": 167,
    "b": 232
  },
  "hsl": {
    "h": 238.209,
    "s": 59.292,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75078,
    "c": 0.09318,
    "h": 282.5
  },
  "luminance": 0.41463
}

Semantic roles & 50–950 ramp

primary
#A5A7E8
secondary
#F0EFDB
accent
#C21FC7
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#121216
muted
#818184

Preview Lab

Preview with #A5A7E8

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

Preview Lab → · Contrast checker → · Palette generator →

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