#A8A5F0#A8A5F0

#A8A5F0 is a light, moderate blue. Relative luminance 0.415; OKLCH L 75.3% C 0.107 H 285.4°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#A8A5F0
RGBrgb(168, 165, 240)
HSLhsl(242, 71%, 79%)
HSVhsv(242, 31%, 94%)
CMYKcmyk(30%, 31.2%, 0%, 5.9%)
CIE-LABlab(70.54, 17.61, -37.12)
CIE-LCHlch(70.54, 41.09, 295.39°)
OKLaboklab(75.28% 0.0283 -0.1032)
OKLCHoklch(75.28% 0.107 285.4)
XYZxyz(45.3276, 41.5252, 88.0482)
Luminance0.4153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A5F0 #EDF0A5
analogous
#A5C8F0 #A8A5F0 #CEA5F0
triadic
#A8A5F0 #F0A8A5 #A5F0A8
tetradic
#A8A5F0 #F0A5C8 #EDF0A5 #A5F0CE
square
#A8A5F0 #F0A5C8 #EDF0A5 #A5F0CE
split-complementary
#A8A5F0 #F0CEA5 #C8F0A5
monochromatic
#433CDF #7571E7 #A8A5F0 #DBD9F9 #E6E5FB

Accessibility & contrast

On white

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

On black

9.31
#A8A5F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A5F0
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A5F0#FFFFFF#000000##000000
##A8A5F01.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AFF3
Deuteranopia (green-blind)
#8EAAEE
Tritanopia (blue-blind)
#96B3C0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a8a5f0;
/* rgb */ color: rgb(168, 165, 240);
/* oklch */ color: oklch(75.3% 0.107 285.4);
Tailwind
colors: {
  custom: {
    50: '#c3bff5',
    500: '#a8a5f0',
    950: '#000000',
  },
}
SCSS
$custom: #a8a5f0;
$custom-light: #c3bff5;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a5f0",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 240
  },
  "hsl": {
    "h": 242.4,
    "s": 71.429,
    "l": 79.412
  },
  "oklch": {
    "l": 0.75275,
    "c": 0.10698,
    "h": 285.4
  },
  "luminance": 0.41526
}

Semantic roles & 50–950 ramp

primary
#A8A5F0
secondary
#F1F2D9
accent
#D312CC
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #A8A5F0

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

Preview Lab → · Contrast checker → · Palette generator →

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