#A6A6FB#A6A6FB

#A6A6FB is a light, vivid blue. Relative luminance 0.423; OKLCH L 75.8% C 0.121 H 283.1°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#A6A6FB
RGBrgb(166, 166, 251)
HSLhsl(240, 91%, 82%)
HSVhsv(240, 34%, 98%)
CMYKcmyk(33.9%, 33.9%, 0%, 1.6%)
CIE-LABlab(71.11, 19.28, -42.23)
CIE-LCHlch(71.11, 46.42, 294.54°)
OKLaboklab(75.83% 0.0275 -0.1179)
OKLCHoklch(75.83% 0.121 283.1)
XYZxyz(46.7699, 42.3430, 96.9569)
Luminance0.4234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A6FB #FBFBA6
analogous
#A6D1FB #A6A6FB #D1A6FB
triadic
#A6A6FB #FBA6A6 #A6FBA6
tetradic
#A6A6FB #FBA6D1 #FBFBA6 #A6FBD1
square
#A6A6FB #FBA6D1 #FBFBA6 #A6FBD1
split-complementary
#A6A6FB #FBD1A6 #D1FBA6
monochromatic
#3131F6 #6B6BF8 #A6A6FB #E1E1FE #E2E2FE

Accessibility & contrast

On white

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

On black

9.47
#A6A6FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A6FB
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A6FB#FFFFFF#000000##000000
##A6A6FB1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6a6fb;
/* rgb */ color: rgb(166, 166, 251);
/* oklch */ color: oklch(75.8% 0.121 283.1);
Tailwind
colors: {
  custom: {
    50: '#c3c0fd',
    500: '#a6a6fb',
    950: '#000000',
  },
}
SCSS
$custom: #a6a6fb;
$custom-light: #c3c0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a6fb",
  "rgb": {
    "r": 166,
    "g": 166,
    "b": 251
  },
  "hsl": {
    "h": 240,
    "s": 91.398,
    "l": 81.765
  },
  "oklch": {
    "l": 0.75825,
    "c": 0.1211,
    "h": 283.1
  },
  "luminance": 0.42344
}

Semantic roles & 50–950 ramp

primary
#A6A6FB
secondary
#F6F6D5
accent
#E600E5
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A6A6FB

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

Preview Lab → · Contrast checker → · Palette generator →

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