#AFA5FD#AFA5FD

#AFA5FD is a light, vivid blue. Relative luminance 0.431; OKLCH L 76.4% C 0.125 H 288.3°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#AFA5FD
RGBrgb(175, 165, 253)
HSLhsl(247, 96%, 82%)
HSVhsv(247, 35%, 99%)
CMYKcmyk(30.8%, 34.8%, 0%, 0.8%)
CIE-LABlab(71.63, 22.81, -42.44)
CIE-LCHlch(71.63, 48.18, 298.25°)
OKLaboklab(76.43% 0.0391 -0.1184)
OKLCHoklch(76.43% 0.125 288.3)
XYZxyz(48.8593, 43.1149, 98.6572)
Luminance0.4312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA5FD #F3FDA5
analogous
#A5C7FD #AFA5FD #DBA5FD
triadic
#AFA5FD #FDAFA5 #A5FDAF
tetradic
#AFA5FD #FDA5C7 #F3FDA5 #A5FDDB
square
#AFA5FD #FDA5C7 #F3FDA5 #A5FDDB
split-complementary
#AFA5FD #FDDBA5 #C7FDA5
monochromatic
#452DFA #7A69FC #AFA5FD #E4E1FE #E4E1FE

Accessibility & contrast

On white

2.18
#AFA5FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#AFA5FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA5FD
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA5FD#FFFFFF#000000##000000
##AFA5FD1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB1FF
Deuteranopia (green-blind)
#8BADFB
Tritanopia (blue-blind)
#9CB5C5
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afa5fd;
/* rgb */ color: rgb(175, 165, 253);
/* oklch */ color: oklch(76.4% 0.125 288.3);
Tailwind
colors: {
  custom: {
    50: '#c9bffe',
    500: '#afa5fd',
    950: '#000000',
  },
}
SCSS
$custom: #afa5fd;
$custom-light: #c9bffe;
$custom-dark: #000000;
JSON
{
  "hex": "#afa5fd",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 253
  },
  "hsl": {
    "h": 246.818,
    "s": 95.652,
    "l": 81.961
  },
  "oklch": {
    "l": 0.76427,
    "c": 0.12466,
    "h": 288.3
  },
  "luminance": 0.43116
}

Semantic roles & 50–950 ramp

primary
#AFA5FD
secondary
#F3F7D4
accent
#E600CB
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131218
muted
#828186

Preview Lab

Preview with #AFA5FD

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

Preview Lab → · Contrast checker → · Palette generator →

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