#A8A1FD#A8A1FD

#A8A1FD is a light, vivid blue. Relative luminance 0.409; OKLCH L 75.1% C 0.131 H 286.3°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#A8A1FD
RGBrgb(168, 161, 253)
HSLhsl(245, 96%, 81%)
HSVhsv(245, 36%, 99%)
CMYKcmyk(33.6%, 36.4%, 0%, 0.8%)
CIE-LABlab(70.11, 23.15, -44.87)
CIE-LCHlch(70.11, 50.49, 297.30°)
OKLaboklab(75.13% 0.0367 -0.1255)
OKLCHoklch(75.13% 0.131 286.3)
XYZxyz(46.6182, 40.9051, 98.3487)
Luminance0.4091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A1FD #F6FDA1
analogous
#A1C8FD #A8A1FD #D6A1FD
triadic
#A8A1FD #FDA8A1 #A1FDA8
tetradic
#A8A1FD #FDA1C8 #F6FDA1 #A1FDD6
square
#A8A1FD #FDA1C8 #F6FDA1 #A1FDD6
split-complementary
#A8A1FD #FDD6A1 #C8FDA1
monochromatic
#3929FA #7165FC #A8A1FD #DFDDFE #E3E1FE

Accessibility & contrast

On white

2.29
#A8A1FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#A8A1FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A1FD
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A1FD#FFFFFF#000000##000000
##A8A1FD1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AEFF
Deuteranopia (green-blind)
#83A9FB
Tritanopia (blue-blind)
#92B2C3
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a8a1fd;
/* rgb */ color: rgb(168, 161, 253);
/* oklch */ color: oklch(75.1% 0.131 286.3);
Tailwind
colors: {
  custom: {
    50: '#c4bcfe',
    500: '#a8a1fd',
    950: '#000000',
  },
}
SCSS
$custom: #a8a1fd;
$custom-light: #c4bcfe;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a1fd",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 253
  },
  "hsl": {
    "h": 244.565,
    "s": 95.833,
    "l": 81.176
  },
  "oklch": {
    "l": 0.75126,
    "c": 0.13075,
    "h": 286.3
  },
  "luminance": 0.40906
}

Semantic roles & 50–950 ramp

primary
#A8A1FD
secondary
#F4F7D4
accent
#E600D4
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131218
muted
#828186

Preview Lab

Preview with #A8A1FD

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

Preview Lab → · Contrast checker → · Palette generator →

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