#A2A2F9#A2A2F9

#A2A2F9 is a light, vivid blue. Relative luminance 0.404; OKLCH L 74.7% C 0.124 H 283.0°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#A2A2F9
RGBrgb(162, 162, 249)
HSLhsl(240, 88%, 81%)
HSVhsv(240, 35%, 98%)
CMYKcmyk(34.9%, 34.9%, 0%, 2.4%)
CIE-LABlab(69.73, 19.95, -43.33)
CIE-LCHlch(69.73, 47.70, 294.72°)
OKLaboklab(74.66% 0.0279 -0.1212)
OKLCHoklch(74.66% 0.124 283)
XYZxyz(44.9148, 40.3601, 95.0280)
Luminance0.4036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A2F9 #F9F9A2
analogous
#A2CDF9 #A2A2F9 #CDA2F9
triadic
#A2A2F9 #F9A2A2 #A2F9A2
tetradic
#A2A2F9 #F9A2CD #F9F9A2 #A2F9CD
square
#A2A2F9 #F9A2CD #F9F9A2 #A2F9CD
split-complementary
#A2A2F9 #F9CDA2 #CDF9A2
monochromatic
#2F2FF2 #6969F5 #A2A2F9 #DBDBFD #E2E2FD

Accessibility & contrast

On white

2.31
#A2A2F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#A2A2F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A2F9
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A2F9#FFFFFF#000000##000000
##A2A2F91.002.319.079.07
#FFFFFF2.311.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ADFC
Deuteranopia (green-blind)
#83A8F7
Tritanopia (blue-blind)
#8BB2C2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a2a2f9;
/* rgb */ color: rgb(162, 162, 249);
/* oklch */ color: oklch(74.7% 0.124 283.0);
Tailwind
colors: {
  custom: {
    50: '#c0bdfb',
    500: '#a2a2f9',
    950: '#000000',
  },
}
SCSS
$custom: #a2a2f9;
$custom-light: #c0bdfb;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a2f9",
  "rgb": {
    "r": 162,
    "g": 162,
    "b": 249
  },
  "hsl": {
    "h": 240,
    "s": 87.879,
    "l": 80.588
  },
  "oklch": {
    "l": 0.74661,
    "c": 0.12434,
    "h": 283
  },
  "luminance": 0.40362
}

Semantic roles & 50–950 ramp

primary
#A2A2F9
secondary
#F5F5D6
accent
#E401E4
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#121217
muted
#818185

Preview Lab

Preview with #A2A2F9

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

Preview Lab → · Contrast checker → · Palette generator →

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