#A5A2F1#A5A2F1

#A5A2F1 is a light, moderate blue. Relative luminance 0.402; OKLCH L 74.5% C 0.113 H 285.0°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#A5A2F1
RGBrgb(165, 162, 241)
HSLhsl(242, 74%, 79%)
HSVhsv(242, 33%, 95%)
CMYKcmyk(31.5%, 32.8%, 0%, 5.5%)
CIE-LABlab(69.60, 18.71, -39.14)
CIE-LCHlch(69.60, 43.38, 295.55°)
OKLaboklab(74.51% 0.0293 -0.109)
OKLCHoklch(74.51% 0.113 285)
XYZxyz(44.3103, 40.1897, 88.6248)
Luminance0.4019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A2F1 #EEF1A2
analogous
#A2C7F1 #A5A2F1 #CDA2F1
triadic
#A5A2F1 #F1A5A2 #A2F1A5
tetradic
#A5A2F1 #F1A2C7 #EEF1A2 #A2F1CD
square
#A5A2F1 #F1A2C7 #EEF1A2 #A2F1CD
split-complementary
#A5A2F1 #F1CDA2 #C7F1A2
monochromatic
#3E38E1 #726DE9 #A5A2F1 #D8D7F9 #E5E4FB

Accessibility & contrast

On white

2.32
#A5A2F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#A5A2F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A2F1
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A2F1#FFFFFF#000000##000000
##A5A2F11.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BACF4
Deuteranopia (green-blind)
#89A8EF
Tritanopia (blue-blind)
#92B0BF
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a5a2f1;
/* rgb */ color: rgb(165, 162, 241);
/* oklch */ color: oklch(74.5% 0.113 285.0);
Tailwind
colors: {
  custom: {
    50: '#c1bdf6',
    500: '#a5a2f1',
    950: '#000000',
  },
}
SCSS
$custom: #a5a2f1;
$custom-light: #c1bdf6;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a2f1",
  "rgb": {
    "r": 165,
    "g": 162,
    "b": 241
  },
  "hsl": {
    "h": 242.278,
    "s": 73.832,
    "l": 79.02
  },
  "oklch": {
    "l": 0.7451,
    "c": 0.1129,
    "h": 285
  },
  "luminance": 0.40191
}

Semantic roles & 50–950 ramp

primary
#A5A2F1
secondary
#F2F3D8
accent
#D610CE
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#121217
muted
#818185

Preview Lab

Preview with #A5A2F1

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

Preview Lab → · Contrast checker → · Palette generator →

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