#A6A6FA#A6A6FA

#A6A6FA is a light, moderate blue. Relative luminance 0.423; OKLCH L 75.8% C 0.120 H 283.2°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#A6A6FA
RGBrgb(166, 166, 250)
HSLhsl(240, 89%, 82%)
HSVhsv(240, 34%, 98%)
CMYKcmyk(33.6%, 33.6%, 0%, 2%)
CIE-LABlab(71.06, 19.02, -41.75)
CIE-LCHlch(71.06, 45.88, 294.50°)
OKLaboklab(75.78% 0.0273 -0.1165)
OKLCHoklch(75.78% 0.12 283.2)
XYZxyz(46.6127, 42.2801, 96.1289)
Luminance0.4228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A6FA #FAFAA6
analogous
#A6D0FA #A6A6FA #D0A6FA
triadic
#A6A6FA #FAA6A6 #A6FAA6
tetradic
#A6A6FA #FAA6D0 #FAFAA6 #A6FAD0
square
#A6A6FA #FAA6D0 #FAFAA6 #A6FAD0
split-complementary
#A6A6FA #FAD0A6 #D0FAA6
monochromatic
#3232F3 #6C6CF7 #A6A6FA #E0E0FD #E2E2FD

Accessibility & contrast

On white

2.22
#A6A6FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#A6A6FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A6FA
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A6FA#FFFFFF#000000##000000
##A6A6FA1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB1FD
Deuteranopia (green-blind)
#89ABF8
Tritanopia (blue-blind)
#90B6C5
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a6a6fa;
/* rgb */ color: rgb(166, 166, 250);
/* oklch */ color: oklch(75.8% 0.120 283.2);
Tailwind
colors: {
  custom: {
    50: '#c3c0fc',
    500: '#a6a6fa',
    950: '#000000',
  },
}
SCSS
$custom: #a6a6fa;
$custom-light: #c3c0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a6fa",
  "rgb": {
    "r": 166,
    "g": 166,
    "b": 250
  },
  "hsl": {
    "h": 240,
    "s": 89.362,
    "l": 81.569
  },
  "oklch": {
    "l": 0.75778,
    "c": 0.1197,
    "h": 283.2
  },
  "luminance": 0.42282
}

Semantic roles & 50–950 ramp

primary
#A6A6FA
secondary
#F5F5D6
accent
#E600E5
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A6A6FA

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

Preview Lab → · Contrast checker → · Palette generator →

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