#A5A5F7#A5A5F7

#A5A5F7 is a light, moderate blue. Relative luminance 0.416; OKLCH L 75.4% C 0.117 H 283.2°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#A5A5F7
RGBrgb(165, 165, 247)
HSLhsl(240, 84%, 81%)
HSVhsv(240, 33%, 97%)
CMYKcmyk(33.2%, 33.2%, 0%, 3.1%)
CIE-LABlab(70.61, 18.55, -40.84)
CIE-LCHlch(70.61, 44.85, 294.42°)
OKLaboklab(75.37% 0.0268 -0.1139)
OKLCHoklch(75.37% 0.117 283.2)
XYZxyz(45.7561, 41.6236, 93.6010)
Luminance0.4163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A5F7 #F7F7A5
analogous
#A5CEF7 #A5A5F7 #CEA5F7
triadic
#A5A5F7 #F7A5A5 #A5F7A5
tetradic
#A5A5F7 #F7A5CE #F7F7A5 #A5F7CE
square
#A5A5F7 #F7A5CE #F7F7A5 #A5F7CE
split-complementary
#A5A5F7 #F7CEA5 #CEF7A5
monochromatic
#3535ED #6D6DF2 #A5A5F7 #DDDDFC #E3E3FD

Accessibility & contrast

On white

2.25
#A5A5F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#A5A5F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A5F7
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A5F7#FFFFFF#000000##000000
##A5A5F71.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CAFFA
Deuteranopia (green-blind)
#89AAF5
Tritanopia (blue-blind)
#90B4C3
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a5a5f7;
/* rgb */ color: rgb(165, 165, 247);
/* oklch */ color: oklch(75.4% 0.117 283.2);
Tailwind
colors: {
  custom: {
    50: '#c2bffa',
    500: '#a5a5f7',
    950: '#000000',
  },
}
SCSS
$custom: #a5a5f7;
$custom-light: #c2bffa;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a5f7",
  "rgb": {
    "r": 165,
    "g": 165,
    "b": 247
  },
  "hsl": {
    "h": 240,
    "s": 83.673,
    "l": 80.784
  },
  "oklch": {
    "l": 0.75368,
    "c": 0.11704,
    "h": 283.2
  },
  "luminance": 0.41625
}

Semantic roles & 50–950 ramp

primary
#A5A5F7
secondary
#F4F4D7
accent
#E005E0
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A5A5F7

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

Preview Lab → · Contrast checker → · Palette generator →

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