#A8A2F9#A8A2F9

#A8A2F9 is a light, vivid blue. Relative luminance 0.410; OKLCH L 75.1% C 0.124 H 286.2°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#A8A2F9
RGBrgb(168, 162, 249)
HSLhsl(244, 88%, 81%)
HSVhsv(244, 35%, 98%)
CMYKcmyk(32.5%, 34.9%, 0%, 2.4%)
CIE-LABlab(70.18, 21.57, -42.58)
CIE-LCHlch(70.18, 47.73, 296.86°)
OKLaboklab(75.12% 0.0345 -0.1189)
OKLCHoklch(75.12% 0.124 286.2)
XYZxyz(46.1631, 41.0038, 95.0865)
Luminance0.4101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A2F9 #F3F9A2
analogous
#A2C7F9 #A8A2F9 #D3A2F9
triadic
#A8A2F9 #F9A8A2 #A2F9A8
tetradic
#A8A2F9 #F9A2C7 #F3F9A2 #A2F9D3
square
#A8A2F9 #F9A2C7 #F3F9A2 #A2F9D3
split-complementary
#A8A2F9 #F9D3A2 #C7F9A2
monochromatic
#3C2FF2 #7269F5 #A8A2F9 #DEDBFD #E4E2FD

Accessibility & contrast

On white

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

On black

9.20
#A8A2F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A2F9
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A2F9#FFFFFF#000000##000000
##A8A2F91.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AEFC
Deuteranopia (green-blind)
#86A9F7
Tritanopia (blue-blind)
#94B2C2
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a8a2f9;
/* rgb */ color: rgb(168, 162, 249);
/* oklch */ color: oklch(75.1% 0.124 286.2);
Tailwind
colors: {
  custom: {
    50: '#c4bdfb',
    500: '#a8a2f9',
    950: '#000000',
  },
}
SCSS
$custom: #a8a2f9;
$custom-light: #c4bdfb;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a2f9",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 249
  },
  "hsl": {
    "h": 244.138,
    "s": 87.879,
    "l": 80.588
  },
  "oklch": {
    "l": 0.75121,
    "c": 0.12381,
    "h": 286.2
  },
  "luminance": 0.41005
}

Semantic roles & 50–950 ramp

primary
#A8A2F9
secondary
#F3F5D6
accent
#E401D5
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A8A2F9

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

Preview Lab → · Contrast checker → · Palette generator →

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