#A5A5F0#A5A5F0

#A5A5F0 is a light, moderate blue. Relative luminance 0.412; OKLCH L 75.0% C 0.107 H 283.5°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#A5A5F0
RGBrgb(165, 165, 240)
HSLhsl(240, 71%, 79%)
HSVhsv(240, 31%, 94%)
CMYKcmyk(31.2%, 31.2%, 0%, 5.9%)
CIE-LABlab(70.32, 16.77, -37.49)
CIE-LCHlch(70.32, 41.07, 294.10°)
OKLaboklab(75.04% 0.0251 -0.1043)
OKLCHoklch(75.04% 0.107 283.5)
XYZxyz(44.6961, 41.1996, 88.0186)
Luminance0.4120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A5F0 #F0F0A5
analogous
#A5CBF0 #A5A5F0 #CBA5F0
triadic
#A5A5F0 #F0A5A5 #A5F0A5
tetradic
#A5A5F0 #F0A5CB #F0F0A5 #A5F0CB
square
#A5A5F0 #F0A5CB #F0F0A5 #A5F0CB
split-complementary
#A5A5F0 #F0CBA5 #CBF0A5
monochromatic
#3C3CDF #7171E7 #A5A5F0 #D9D9F9 #E5E5FB

Accessibility & contrast

On white

2.27
#A5A5F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#A5A5F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A5F0
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A5F0#FFFFFF#000000##000000
##A5A5F01.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAEF3
Deuteranopia (green-blind)
#8CAAEE
Tritanopia (blue-blind)
#92B3C0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a5a5f0;
/* rgb */ color: rgb(165, 165, 240);
/* oklch */ color: oklch(75.0% 0.107 283.5);
Tailwind
colors: {
  custom: {
    50: '#c1bff5',
    500: '#a5a5f0',
    950: '#000000',
  },
}
SCSS
$custom: #a5a5f0;
$custom-light: #c1bff5;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a5f0",
  "rgb": {
    "r": 165,
    "g": 165,
    "b": 240
  },
  "hsl": {
    "h": 240,
    "s": 71.429,
    "l": 79.412
  },
  "oklch": {
    "l": 0.75044,
    "c": 0.10725,
    "h": 283.5
  },
  "luminance": 0.41201
}

Semantic roles & 50–950 ramp

primary
#A5A5F0
secondary
#F2F2D9
accent
#D312D3
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#121217
muted
#818185

Preview Lab

Preview with #A5A5F0

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

Preview Lab → · Contrast checker → · Palette generator →

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