#A5A2F9#A5A2F9

#A5A2F9 is a light, vivid blue. Relative luminance 0.407; OKLCH L 74.9% C 0.124 H 284.6°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#A5A2F9
RGBrgb(165, 162, 249)
HSLhsl(242, 88%, 81%)
HSVhsv(242, 35%, 98%)
CMYKcmyk(33.7%, 34.9%, 0%, 2.4%)
CIE-LABlab(69.95, 20.75, -42.96)
CIE-LCHlch(69.95, 47.71, 295.78°)
OKLaboklab(74.89% 0.0312 -0.12)
OKLCHoklch(74.89% 0.124 284.6)
XYZxyz(45.5316, 40.6782, 95.0569)
Luminance0.4068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A2F9 #F6F9A2
analogous
#A2CAF9 #A5A2F9 #D0A2F9
triadic
#A5A2F9 #F9A5A2 #A2F9A5
tetradic
#A5A2F9 #F9A2CA #F6F9A2 #A2F9D0
square
#A5A2F9 #F9A2CA #F6F9A2 #A2F9D0
split-complementary
#A5A2F9 #F9D0A2 #CAF9A2
monochromatic
#362FF2 #6D69F5 #A5A2F9 #DDDBFD #E3E2FD

Accessibility & contrast

On white

2.30
#A5A2F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#A5A2F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A2F9
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A2F9#FFFFFF#000000##000000
##A5A2F91.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFC
Deuteranopia (green-blind)
#85A8F7
Tritanopia (blue-blind)
#8FB2C2
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a5a2f9;
/* rgb */ color: rgb(165, 162, 249);
/* oklch */ color: oklch(74.9% 0.124 284.6);
Tailwind
colors: {
  custom: {
    50: '#c2bdfb',
    500: '#a5a2f9',
    950: '#000000',
  },
}
SCSS
$custom: #a5a2f9;
$custom-light: #c2bdfb;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a2f9",
  "rgb": {
    "r": 165,
    "g": 162,
    "b": 249
  },
  "hsl": {
    "h": 242.069,
    "s": 87.879,
    "l": 80.588
  },
  "oklch": {
    "l": 0.74889,
    "c": 0.12403,
    "h": 284.6
  },
  "luminance": 0.4068
}

Semantic roles & 50–950 ramp

primary
#A5A2F9
secondary
#F4F5D6
accent
#E401DD
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A5A2F9

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

Preview Lab → · Contrast checker → · Palette generator →

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