#A5A5F3#A5A5F3

#A5A5F3 is a light, moderate blue. Relative luminance 0.414; OKLCH L 75.2% C 0.111 H 283.4°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#A5A5F3
RGBrgb(165, 165, 243)
HSLhsl(240, 76%, 80%)
HSVhsv(240, 32%, 95%)
CMYKcmyk(32.1%, 32.1%, 0%, 4.7%)
CIE-LABlab(70.44, 17.53, -38.93)
CIE-LCHlch(70.44, 42.69, 294.24°)
OKLaboklab(75.18% 0.0258 -0.1084)
OKLCHoklch(75.18% 0.111 283.4)
XYZxyz(45.1455, 41.3794, 90.3850)
Luminance0.4138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A5F3 #F3F3A5
analogous
#A5CCF3 #A5A5F3 #CCA5F3
triadic
#A5A5F3 #F3A5A5 #A5F3A5
tetradic
#A5A5F3 #F3A5CC #F3F3A5 #A5F3CC
square
#A5A5F3 #F3A5CC #F3F3A5 #A5F3CC
split-complementary
#A5A5F3 #F3CCA5 #CCF3A5
monochromatic
#3939E5 #6F6FEC #A5A5F3 #DBDBFA #E4E4FB

Accessibility & contrast

On white

2.26
#A5A5F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#A5A5F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A5F3
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A5F3#FFFFFF#000000##000000
##A5A5F31.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EAFF6
Deuteranopia (green-blind)
#8BAAF1
Tritanopia (blue-blind)
#91B3C1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a5a5f3;
/* rgb */ color: rgb(165, 165, 243);
/* oklch */ color: oklch(75.2% 0.111 283.4);
Tailwind
colors: {
  custom: {
    50: '#c1bff7',
    500: '#a5a5f3',
    950: '#000000',
  },
}
SCSS
$custom: #a5a5f3;
$custom-light: #c1bff7;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a5f3",
  "rgb": {
    "r": 165,
    "g": 165,
    "b": 243
  },
  "hsl": {
    "h": 240,
    "s": 76.471,
    "l": 80
  },
  "oklch": {
    "l": 0.75182,
    "c": 0.11145,
    "h": 283.4
  },
  "luminance": 0.41381
}

Semantic roles & 50–950 ramp

primary
#A5A5F3
secondary
#F3F3D8
accent
#D90DD9
background
#FCFBFF
surface
#F8F7FE
border
#D1D0D6
text
#121217
muted
#818185

Preview Lab

Preview with #A5A5F3

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

Preview Lab → · Contrast checker → · Palette generator →

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