#A6A5FA#A6A5FA

#A6A5FA is a light, vivid blue. Relative luminance 0.419; OKLCH L 75.6% C 0.121 H 283.7°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#A6A5FA
RGBrgb(166, 165, 250)
HSLhsl(241, 89%, 81%)
HSVhsv(241, 34%, 98%)
CMYKcmyk(33.6%, 34%, 0%, 2%)
CIE-LABlab(70.81, 19.59, -42.14)
CIE-LCHlch(70.81, 46.47, 294.93°)
OKLaboklab(75.59% 0.0286 -0.1177)
OKLCHoklch(75.59% 0.121 283.7)
XYZxyz(46.4316, 41.9180, 96.0685)
Luminance0.4192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A5FA #F9FAA5
analogous
#A5CFFA #A6A5FA #D1A5FA
triadic
#A6A5FA #FAA6A5 #A5FAA6
tetradic
#A6A5FA #FAA5CF #F9FAA5 #A5FAD1
square
#A6A5FA #FAA5CF #F9FAA5 #A5FAD1
split-complementary
#A6A5FA #FAD1A5 #CFFAA5
monochromatic
#3331F4 #6D6BF7 #A6A5FA #DFDFFD #E2E2FD

Accessibility & contrast

On white

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

On black

9.38
#A6A5FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A5FA
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A5FA#FFFFFF#000000##000000
##A6A5FA1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6a5fa;
/* rgb */ color: rgb(166, 165, 250);
/* oklch */ color: oklch(75.6% 0.121 283.7);
Tailwind
colors: {
  custom: {
    50: '#c3bffc',
    500: '#a6a5fa',
    950: '#000000',
  },
}
SCSS
$custom: #a6a5fa;
$custom-light: #c3bffc;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a5fa",
  "rgb": {
    "r": 166,
    "g": 165,
    "b": 250
  },
  "hsl": {
    "h": 240.706,
    "s": 89.474,
    "l": 81.373
  },
  "oklch": {
    "l": 0.75586,
    "c": 0.1211,
    "h": 283.7
  },
  "luminance": 0.41919
}

Semantic roles & 50–950 ramp

primary
#A6A5FA
secondary
#F5F5D6
accent
#E600E3
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A6A5FA

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

Preview Lab → · Contrast checker → · Palette generator →

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