#A5AFFC#A5AFFC

#A5AFFC is a light, moderate blue. Relative luminance 0.457; OKLCH L 77.5% C 0.110 H 277.8°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#A5AFFC
RGBrgb(165, 175, 252)
HSLhsl(233, 94%, 82%)
HSVhsv(233, 35%, 99%)
CMYKcmyk(34.5%, 30.6%, 0%, 1.2%)
CIE-LABlab(73.34, 14.22, -39.29)
CIE-LCHlch(73.34, 41.78, 289.89°)
OKLaboklab(77.54% 0.015 -0.1095)
OKLCHoklch(77.54% 0.11 277.8)
XYZxyz(48.4127, 45.6858, 98.3440)
Luminance0.4569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AFFC #FCF2A5
analogous
#A5DBFC #A5AFFC #C7A5FC
triadic
#A5AFFC #FCA5AF #AFFCA5
tetradic
#A5AFFC #FCA5DB #FCF2A5 #A5FCC7
square
#A5AFFC #FCA5DB #FCF2A5 #A5FCC7
split-complementary
#A5AFFC #FCC7A5 #DBFCA5
monochromatic
#2F46F8 #6A7AFA #A5AFFC #E0E4FE #E1E5FE

Accessibility & contrast

On white

2.07
#A5AFFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#A5AFFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AFFC
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AFFC#FFFFFF#000000##000000
##A5AFFC1.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B8FF
Deuteranopia (green-blind)
#91B1FA
Tritanopia (blue-blind)
#8DBECB
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a5affc;
/* rgb */ color: rgb(165, 175, 252);
/* oklch */ color: oklch(77.5% 0.110 277.8);
Tailwind
colors: {
  custom: {
    50: '#c2c6fd',
    500: '#a5affc',
    950: '#000000',
  },
}
SCSS
$custom: #a5affc;
$custom-light: #c2c6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a5affc",
  "rgb": {
    "r": 165,
    "g": 175,
    "b": 252
  },
  "hsl": {
    "h": 233.103,
    "s": 93.548,
    "l": 81.765
  },
  "oklch": {
    "l": 0.77543,
    "c": 0.11049,
    "h": 277.8
  },
  "luminance": 0.45688
}

Semantic roles & 50–950 ramp

primary
#A5AFFC
secondary
#F6F2D5
accent
#CB00E6
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131317
muted
#828285

Preview Lab

Preview with #A5AFFC

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

Preview Lab → · Contrast checker → · Palette generator →

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