#A8A1F5#A8A1F5

#A8A1F5 is a light, moderate blue. Relative luminance 0.404; OKLCH L 74.7% C 0.120 H 286.9°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#A8A1F5
RGBrgb(168, 161, 245)
HSLhsl(245, 81%, 80%)
HSVhsv(245, 34%, 96%)
CMYKcmyk(31.4%, 34.3%, 0%, 3.9%)
CIE-LABlab(69.76, 21.12, -41.07)
CIE-LCHlch(69.76, 46.18, 297.21°)
OKLaboklab(74.74% 0.0349 -0.1145)
OKLCHoklch(74.74% 0.12 286.9)
XYZxyz(45.3704, 40.4060, 91.7772)
Luminance0.4041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A1F5 #EEF5A1
analogous
#A1C4F5 #A8A1F5 #D2A1F5
triadic
#A8A1F5 #F5A8A1 #A1F5A8
tetradic
#A8A1F5 #F5A1C4 #EEF5A1 #A1F5D2
square
#A8A1F5 #F5A1C4 #EEF5A1 #A1F5D2
split-complementary
#A8A1F5 #F5D2A1 #C4F5A1
monochromatic
#4232E9 #756AEF #A8A1F5 #DBD8FB #E5E3FC

Accessibility & contrast

On white

2.31
#A8A1F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#A8A1F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A1F5
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A1F5#FFFFFF#000000##000000
##A8A1F51.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88ADF8
Deuteranopia (green-blind)
#87A8F3
Tritanopia (blue-blind)
#95B0C0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a8a1f5;
/* rgb */ color: rgb(168, 161, 245);
/* oklch */ color: oklch(74.7% 0.120 286.9);
Tailwind
colors: {
  custom: {
    50: '#c4bcf9',
    500: '#a8a1f5',
    950: '#000000',
  },
}
SCSS
$custom: #a8a1f5;
$custom-light: #c4bcf9;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a1f5",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 245
  },
  "hsl": {
    "h": 245,
    "s": 80.769,
    "l": 79.608
  },
  "oklch": {
    "l": 0.74741,
    "c": 0.11972,
    "h": 286.9
  },
  "luminance": 0.40407
}

Semantic roles & 50–950 ramp

primary
#A8A1F5
secondary
#F2F4D7
accent
#DD08CB
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A8A1F5

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

Preview Lab → · Contrast checker → · Palette generator →

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