#A8A2FA#A8A2FA

#A8A2FA is a light, vivid blue. Relative luminance 0.411; OKLCH L 75.2% C 0.125 H 286.1°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#A8A2FA
RGBrgb(168, 162, 250)
HSLhsl(244, 90%, 81%)
HSVhsv(244, 35%, 98%)
CMYKcmyk(32.8%, 35.2%, 0%, 2%)
CIE-LABlab(70.22, 21.82, -43.06)
CIE-LCHlch(70.22, 48.27, 296.88°)
OKLaboklab(75.17% 0.0347 -0.1203)
OKLCHoklch(75.17% 0.125 286.1)
XYZxyz(46.3195, 41.0664, 95.9101)
Luminance0.4107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A2FA #F4FAA2
analogous
#A2C8FA #A8A2FA #D4A2FA
triadic
#A8A2FA #FAA8A2 #A2FAA8
tetradic
#A8A2FA #FAA2C8 #F4FAA2 #A2FAD4
square
#A8A2FA #FAA2C8 #F4FAA2 #A2FAD4
split-complementary
#A8A2FA #FAD4A2 #C8FAA2
monochromatic
#3B2EF4 #7268F7 #A8A2FA #DEDCFD #E4E2FD

Accessibility & contrast

On white

2.28
#A8A2FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#A8A2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A2FA
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A2FA#FFFFFF#000000##000000
##A8A2FA1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFE
Deuteranopia (green-blind)
#86A9F8
Tritanopia (blue-blind)
#93B2C2
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a8a2fa;
/* rgb */ color: rgb(168, 162, 250);
/* oklch */ color: oklch(75.2% 0.125 286.1);
Tailwind
colors: {
  custom: {
    50: '#c4bdfc',
    500: '#a8a2fa',
    950: '#000000',
  },
}
SCSS
$custom: #a8a2fa;
$custom-light: #c4bdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a2fa",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 244.091,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.75169,
    "c": 0.12519,
    "h": 286.1
  },
  "luminance": 0.41068
}

Semantic roles & 50–950 ramp

primary
#A8A2FA
secondary
#F3F6D5
accent
#E600D6
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A8A2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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