#A5A2FA#A5A2FA

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

Color values

HEX#A5A2FA
RGBrgb(165, 162, 250)
HSLhsl(242, 90%, 81%)
HSVhsv(242, 35%, 98%)
CMYKcmyk(34%, 35.2%, 0%, 2%)
CIE-LABlab(69.99, 21.01, -43.43)
CIE-LCHlch(69.99, 48.25, 295.81°)
OKLaboklab(74.94% 0.0314 -0.1214)
OKLCHoklch(74.94% 0.125 284.5)
XYZxyz(45.6880, 40.7407, 95.8805)
Luminance0.4074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A2FA #F7FAA2
analogous
#A2CBFA #A5A2FA #D1A2FA
triadic
#A5A2FA #FAA5A2 #A2FAA5
tetradic
#A5A2FA #FAA2CB #F7FAA2 #A2FAD1
square
#A5A2FA #FAA2CB #F7FAA2 #A2FAD1
split-complementary
#A5A2FA #FAD1A2 #CBFAA2
monochromatic
#352EF4 #6D68F7 #A5A2FA #DDDCFD #E3E2FD

Accessibility & contrast

On white

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

On black

9.15
#A5A2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A2FA
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A2FA#FFFFFF#000000##000000
##A5A2FA1.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFE
Deuteranopia (green-blind)
#84A8F8
Tritanopia (blue-blind)
#8FB2C2
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a5a2fa;
/* rgb */ color: rgb(165, 162, 250);
/* oklch */ color: oklch(74.9% 0.125 284.5);
Tailwind
colors: {
  custom: {
    50: '#c2bdfc',
    500: '#a5a2fa',
    950: '#000000',
  },
}
SCSS
$custom: #a5a2fa;
$custom-light: #c2bdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a2fa",
  "rgb": {
    "r": 165,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 242.045,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.74937,
    "c": 0.12542,
    "h": 284.5
  },
  "luminance": 0.40742
}

Semantic roles & 50–950 ramp

primary
#A5A2FA
secondary
#F4F6D5
accent
#E600DE
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A5A2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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