#A8A2FE#A8A2FE

#A8A2FE is a light, vivid blue. Relative luminance 0.413; OKLCH L 75.4% C 0.131 H 285.8°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#A8A2FE
RGBrgb(168, 162, 254)
HSLhsl(244, 98%, 82%)
HSVhsv(244, 36%, 100%)
CMYKcmyk(33.9%, 36.2%, 0%, 0.4%)
CIE-LABlab(70.40, 22.85, -44.95)
CIE-LCHlch(70.40, 50.43, 296.94°)
OKLaboklab(75.36% 0.0356 -0.1258)
OKLCHoklch(75.36% 0.131 285.8)
XYZxyz(46.9533, 41.3199, 99.2484)
Luminance0.4132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A2FE #F8FEA2
analogous
#A2CAFE #A8A2FE #D6A2FE
triadic
#A8A2FE #FEA8A2 #A2FEA8
tetradic
#A8A2FE #FEA2CA #F8FEA2 #A2FED6
square
#A8A2FE #FEA2CA #F8FEA2 #A2FED6
split-complementary
#A8A2FE #FED6A2 #CAFEA2
monochromatic
#3729FD #6F65FD #A8A2FE #E1DFFF #E3E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A2FE#FFFFFF#000000##000000
##A8A2FE1.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)
#86AFFF
Deuteranopia (green-blind)
#84AAFC
Tritanopia (blue-blind)
#92B3C4
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a8a2fe;
/* rgb */ color: rgb(168, 162, 254);
/* oklch */ color: oklch(75.4% 0.131 285.8);
Tailwind
colors: {
  custom: {
    50: '#c4bdff',
    500: '#a8a2fe',
    950: '#000000',
  },
}
SCSS
$custom: #a8a2fe;
$custom-light: #c4bdff;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a2fe",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 254
  },
  "hsl": {
    "h": 243.913,
    "s": 97.872,
    "l": 81.569
  },
  "oklch": {
    "l": 0.75363,
    "c": 0.1307,
    "h": 285.8
  },
  "luminance": 0.41321
}

Semantic roles & 50–950 ramp

primary
#A8A2FE
secondary
#F5F7D4
accent
#E600D7
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131218
muted
#828186

Preview Lab

Preview with #A8A2FE

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

Preview Lab → · Contrast checker → · Palette generator →

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