#A5A5FA#A5A5FA

#A5A5FA is a light, vivid blue. Relative luminance 0.418; OKLCH L 75.5% C 0.121 H 283.1°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#A5A5FA
RGBrgb(165, 165, 250)
HSLhsl(240, 89%, 81%)
HSVhsv(240, 34%, 98%)
CMYKcmyk(34%, 34%, 0%, 2%)
CIE-LABlab(70.74, 19.32, -42.27)
CIE-LCHlch(70.74, 46.47, 294.56°)
OKLaboklab(75.51% 0.0275 -0.118)
OKLCHoklch(75.51% 0.121 283.1)
XYZxyz(46.2228, 41.8103, 96.0587)
Luminance0.4181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A5FA #FAFAA5
analogous
#A5D0FA #A5A5FA #D0A5FA
triadic
#A5A5FA #FAA5A5 #A5FAA5
tetradic
#A5A5FA #FAA5D0 #FAFAA5 #A5FAD0
square
#A5A5FA #FAA5D0 #FAFAA5 #A5FAD0
split-complementary
#A5A5FA #FAD0A5 #D0FAA5
monochromatic
#3131F4 #6B6BF7 #A5A5FA #DFDFFD #E2E2FD

Accessibility & contrast

On white

2.24
#A5A5FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#A5A5FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A5FA
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A5FA#FFFFFF#000000##000000
##A5A5FA1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB0FD
Deuteranopia (green-blind)
#87AAF8
Tritanopia (blue-blind)
#8FB5C4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a5a5fa;
/* rgb */ color: rgb(165, 165, 250);
/* oklch */ color: oklch(75.5% 0.121 283.1);
Tailwind
colors: {
  custom: {
    50: '#c2bffc',
    500: '#a5a5fa',
    950: '#000000',
  },
}
SCSS
$custom: #a5a5fa;
$custom-light: #c2bffc;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a5fa",
  "rgb": {
    "r": 165,
    "g": 165,
    "b": 250
  },
  "hsl": {
    "h": 240,
    "s": 89.474,
    "l": 81.373
  },
  "oklch": {
    "l": 0.7551,
    "c": 0.12121,
    "h": 283.1
  },
  "luminance": 0.41812
}

Semantic roles & 50–950 ramp

primary
#A5A5FA
secondary
#F5F5D6
accent
#E600E5
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A5A5FA

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

Preview Lab → · Contrast checker → · Palette generator →

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