#A6A5F9#A6A5F9

#A6A5F9 is a light, moderate blue. Relative luminance 0.419; OKLCH L 75.5% C 0.120 H 283.7°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#A6A5F9
RGBrgb(166, 165, 249)
HSLhsl(241, 88%, 81%)
HSVhsv(241, 34%, 98%)
CMYKcmyk(33.3%, 33.7%, 0%, 2.4%)
CIE-LABlab(70.77, 19.33, -41.67)
CIE-LCHlch(70.77, 45.94, 294.89°)
OKLaboklab(75.54% 0.0284 -0.1163)
OKLCHoklch(75.54% 0.12 283.7)
XYZxyz(46.2752, 41.8554, 95.2449)
Luminance0.4186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A5F9 #F8F9A5
analogous
#A5CEF9 #A6A5F9 #D0A5F9
triadic
#A6A5F9 #F9A6A5 #A5F9A6
tetradic
#A6A5F9 #F9A5CE #F8F9A5 #A5F9D0
square
#A6A5F9 #F9A5CE #F8F9A5 #A5F9D0
split-complementary
#A6A5F9 #F9D0A5 #CEF9A5
monochromatic
#3532F1 #6D6CF5 #A6A5F9 #DFDEFD #E3E2FD

Accessibility & contrast

On white

2.24
#A6A5F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#A6A5F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A5F9
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A5F9#FFFFFF#000000##000000
##A6A5F91.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB0FC
Deuteranopia (green-blind)
#88ABF7
Tritanopia (blue-blind)
#90B5C4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a6a5f9;
/* rgb */ color: rgb(166, 165, 249);
/* oklch */ color: oklch(75.5% 0.120 283.7);
Tailwind
colors: {
  custom: {
    50: '#c3bffb',
    500: '#a6a5f9',
    950: '#000000',
  },
}
SCSS
$custom: #a6a5f9;
$custom-light: #c3bffb;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a5f9",
  "rgb": {
    "r": 166,
    "g": 165,
    "b": 249
  },
  "hsl": {
    "h": 240.714,
    "s": 87.5,
    "l": 81.176
  },
  "oklch": {
    "l": 0.75539,
    "c": 0.11972,
    "h": 283.7
  },
  "luminance": 0.41857
}

Semantic roles & 50–950 ramp

primary
#A6A5F9
secondary
#F5F5D6
accent
#E401E1
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A6A5F9

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

Preview Lab → · Contrast checker → · Palette generator →

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