#A8A1F2#A8A1F2

#A8A1F2 is a light, moderate blue. Relative luminance 0.402; OKLCH L 74.6% C 0.116 H 287.2°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#A8A1F2
RGBrgb(168, 161, 242)
HSLhsl(245, 76%, 79%)
HSVhsv(245, 33%, 95%)
CMYKcmyk(30.6%, 33.5%, 0%, 5.1%)
CIE-LABlab(69.63, 20.37, -39.63)
CIE-LCHlch(69.63, 44.56, 297.20°)
OKLaboklab(74.6% 0.0342 -0.1104)
OKLCHoklch(74.6% 0.116 287.2)
XYZxyz(44.9161, 40.2243, 89.3848)
Luminance0.4022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A1F2 #EBF2A1
analogous
#A1C3F2 #A8A1F2 #D1A1F2
triadic
#A8A1F2 #F2A8A1 #A1F2A8
tetradic
#A8A1F2 #F2A1C3 #EBF2A1 #A1F2D1
square
#A8A1F2 #F2A1C3 #EBF2A1 #A1F2D1
split-complementary
#A8A1F2 #F2D1A1 #C3F2A1
monochromatic
#4435E3 #766BEB #A8A1F2 #DAD7F9 #E6E4FB

Accessibility & contrast

On white

2.32
#A8A1F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#A8A1F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A1F2
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A1F2#FFFFFF#000000##000000
##A8A1F21.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AACF5
Deuteranopia (green-blind)
#88A8F0
Tritanopia (blue-blind)
#96B0BF
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a8a1f2;
/* rgb */ color: rgb(168, 161, 242);
/* oklch */ color: oklch(74.6% 0.116 287.2);
Tailwind
colors: {
  custom: {
    50: '#c4bcf6',
    500: '#a8a1f2',
    950: '#000000',
  },
}
SCSS
$custom: #a8a1f2;
$custom-light: #c4bcf6;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a1f2",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 242
  },
  "hsl": {
    "h": 245.185,
    "s": 75.701,
    "l": 79.02
  },
  "oklch": {
    "l": 0.746,
    "c": 0.11556,
    "h": 287.2
  },
  "luminance": 0.40225
}

Semantic roles & 50–950 ramp

primary
#A8A1F2
secondary
#F1F3D8
accent
#D80EC6
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131217
muted
#828185

Preview Lab

Preview with #A8A1F2

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

Preview Lab → · Contrast checker → · Palette generator →

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