#A8A2FC#A8A2FC

#A8A2FC is a light, vivid blue. Relative luminance 0.412; OKLCH L 75.3% C 0.128 H 285.9°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#A8A2FC
RGBrgb(168, 162, 252)
HSLhsl(244, 94%, 81%)
HSVhsv(244, 36%, 99%)
CMYKcmyk(33.3%, 35.7%, 0%, 1.2%)
CIE-LABlab(70.31, 22.33, -44.01)
CIE-LCHlch(70.31, 49.35, 296.91°)
OKLaboklab(75.27% 0.0351 -0.123)
OKLCHoklch(75.27% 0.128 285.9)
XYZxyz(46.6347, 41.1925, 97.5705)
Luminance0.4119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A2FC #F6FCA2
analogous
#A2C9FC #A8A2FC #D5A2FC
triadic
#A8A2FC #FCA8A2 #A2FCA8
tetradic
#A8A2FC #FCA2C9 #F6FCA2 #A2FCD5
square
#A8A2FC #FCA2C9 #F6FCA2 #A2FCD5
split-complementary
#A8A2FC #FCD5A2 #C9FCA2
monochromatic
#392BF8 #7167FA #A8A2FC #DFDDFE #E3E1FE

Accessibility & contrast

On white

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

On black

9.24
#A8A2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A2FC
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A2FC#FFFFFF#000000##000000
##A8A2FC1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFF
Deuteranopia (green-blind)
#85A9FA
Tritanopia (blue-blind)
#93B3C3
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a8a2fc;
/* rgb */ color: rgb(168, 162, 252);
/* oklch */ color: oklch(75.3% 0.128 285.9);
Tailwind
colors: {
  custom: {
    50: '#c4bdfd',
    500: '#a8a2fc',
    950: '#000000',
  },
}
SCSS
$custom: #a8a2fc;
$custom-light: #c4bdfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a2fc",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 252
  },
  "hsl": {
    "h": 244,
    "s": 93.75,
    "l": 81.176
  },
  "oklch": {
    "l": 0.75266,
    "c": 0.12795,
    "h": 285.9
  },
  "luminance": 0.41194
}

Semantic roles & 50–950 ramp

primary
#A8A2FC
secondary
#F4F6D5
accent
#E600D6
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131218
muted
#828186

Preview Lab

Preview with #A8A2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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