#A5A7E5#A5A7E5

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

Color values

HEX#A5A7E5
RGBrgb(165, 167, 229)
HSLhsl(238, 55%, 77%)
HSVhsv(238, 28%, 90%)
CMYKcmyk(27.9%, 27.1%, 0%, 10.2%)
CIE-LABlab(70.38, 12.91, -31.38)
CIE-LCHlch(70.38, 33.94, 292.37°)
OKLaboklab(74.95% 0.0194 -0.0868)
OKLCHoklch(74.95% 0.089 282.6)
XYZxyz(43.4749, 41.2928, 79.7933)
Luminance0.4129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A7E5 #E5E3A5
analogous
#A5C7E5 #A5A7E5 #C3A5E5
triadic
#A5A7E5 #E5A5A7 #A7E5A5
tetradic
#A5A7E5 #E5A5C7 #E5E3A5 #A5E5C3
square
#A5A7E5 #E5A5C7 #E5E3A5 #A5E5C3
split-complementary
#A5A7E5 #E5C3A5 #C7E5A5
monochromatic
#464ACA #7679D7 #A5A7E5 #D4D5F3 #E7E8F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A7E5#FFFFFF#000000##000000
##A5A7E51.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)
#96AEE8
Deuteranopia (green-blind)
#93AAE3
Tritanopia (blue-blind)
#95B2BD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a5a7e5;
/* rgb */ color: rgb(165, 167, 229);
/* oklch */ color: oklch(74.9% 0.089 282.6);
Tailwind
colors: {
  custom: {
    50: '#c1c1ed',
    500: '#a5a7e5',
    950: '#000000',
  },
}
SCSS
$custom: #a5a7e5;
$custom-light: #c1c1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a7e5",
  "rgb": {
    "r": 165,
    "g": 167,
    "b": 229
  },
  "hsl": {
    "h": 238.125,
    "s": 55.172,
    "l": 77.255
  },
  "oklch": {
    "l": 0.74948,
    "c": 0.08893,
    "h": 282.6
  },
  "luminance": 0.41294
}

Semantic roles & 50–950 ramp

primary
#A5A7E5
secondary
#EFEFDC
accent
#BE23C3
background
#FBFBFE
surface
#F7F7FD
border
#D0D0D5
text
#121216
muted
#818184

Preview Lab

Preview with #A5A7E5

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

Preview Lab → · Contrast checker → · Palette generator →

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