#A6A2FA#A6A2FA

#A6A2FA is a light, vivid blue. Relative luminance 0.408; OKLCH L 75.0% C 0.125 H 285.0°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#A6A2FA
RGBrgb(166, 162, 250)
HSLhsl(243, 90%, 81%)
HSVhsv(243, 35%, 98%)
CMYKcmyk(33.6%, 35.2%, 0%, 2%)
CIE-LABlab(70.07, 21.28, -43.31)
CIE-LCHlch(70.07, 48.26, 296.17°)
OKLaboklab(75.01% 0.0325 -0.121)
OKLCHoklch(75.01% 0.125 285)
XYZxyz(45.8968, 40.8484, 95.8903)
Luminance0.4085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A2FA #F6FAA2
analogous
#A2CAFA #A6A2FA #D2A2FA
triadic
#A6A2FA #FAA6A2 #A2FAA6
tetradic
#A6A2FA #FAA2CA #F6FAA2 #A2FAD2
square
#A6A2FA #FAA2CA #F6FAA2 #A2FAD2
split-complementary
#A6A2FA #FAD2A2 #CAFAA2
monochromatic
#372EF4 #6E68F7 #A6A2FA #DEDCFD #E3E2FD

Accessibility & contrast

On white

2.29
#A6A2FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#A6A2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A2FA
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A2FA#FFFFFF#000000##000000
##A6A2FA1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFE
Deuteranopia (green-blind)
#85A9F8
Tritanopia (blue-blind)
#90B2C2
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a6a2fa;
/* rgb */ color: rgb(166, 162, 250);
/* oklch */ color: oklch(75.0% 0.125 285.0);
Tailwind
colors: {
  custom: {
    50: '#c3bdfc',
    500: '#a6a2fa',
    950: '#000000',
  },
}
SCSS
$custom: #a6a2fa;
$custom-light: #c3bdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a2fa",
  "rgb": {
    "r": 166,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 242.727,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.75014,
    "c": 0.12534,
    "h": 285
  },
  "luminance": 0.4085
}

Semantic roles & 50–950 ramp

primary
#A6A2FA
secondary
#F4F6D5
accent
#E600DB
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A6A2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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