#A8A5FC#A8A5FC

#A8A5FC is a light, vivid blue. Relative luminance 0.423; OKLCH L 75.8% C 0.124 H 284.6°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#A8A5FC
RGBrgb(168, 165, 252)
HSLhsl(242, 94%, 82%)
HSVhsv(242, 35%, 99%)
CMYKcmyk(33.3%, 34.5%, 0%, 1.2%)
CIE-LABlab(71.05, 20.64, -42.85)
CIE-LCHlch(71.05, 47.56, 295.72°)
OKLaboklab(75.83% 0.0312 -0.1197)
OKLCHoklch(75.83% 0.124 284.6)
XYZxyz(47.1695, 42.2620, 97.7487)
Luminance0.4226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A5FC #F9FCA5
analogous
#A5CEFC #A8A5FC #D4A5FC
triadic
#A8A5FC #FCA8A5 #A5FCA8
tetradic
#A8A5FC #FCA5CE #F9FCA5 #A5FCD4
square
#A8A5FC #FCA5CE #F9FCA5 #A5FCD4
split-complementary
#A8A5FC #FCD4A5 #CEFCA5
monochromatic
#352FF8 #6F6AFA #A8A5FC #E1E0FE #E2E1FE

Accessibility & contrast

On white

2.22
#A8A5FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#A8A5FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A5FC
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A5FC#FFFFFF#000000##000000
##A8A5FC1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB1FF
Deuteranopia (green-blind)
#88ABFA
Tritanopia (blue-blind)
#92B5C5
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a8a5fc;
/* rgb */ color: rgb(168, 165, 252);
/* oklch */ color: oklch(75.8% 0.124 284.6);
Tailwind
colors: {
  custom: {
    50: '#c4bffd',
    500: '#a8a5fc',
    950: '#000000',
  },
}
SCSS
$custom: #a8a5fc;
$custom-light: #c4bffd;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a5fc",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 252
  },
  "hsl": {
    "h": 242.069,
    "s": 93.548,
    "l": 81.765
  },
  "oklch": {
    "l": 0.75834,
    "c": 0.12368,
    "h": 284.6
  },
  "luminance": 0.42263
}

Semantic roles & 50–950 ramp

primary
#A8A5FC
secondary
#F5F6D5
accent
#E600DE
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131218
muted
#828186

Preview Lab

Preview with #A8A5FC

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

Preview Lab → · Contrast checker → · Palette generator →

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