#AFA4FD#AFA4FD

#AFA4FD is a light, vivid blue. Relative luminance 0.428; OKLCH L 76.2% C 0.126 H 288.7°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#AFA4FD
RGBrgb(175, 164, 253)
HSLhsl(247, 96%, 82%)
HSVhsv(247, 35%, 99%)
CMYKcmyk(30.8%, 35.2%, 0%, 0.8%)
CIE-LABlab(71.39, 23.37, -42.82)
CIE-LCHlch(71.39, 48.78, 298.62°)
OKLaboklab(76.24% 0.0404 -0.1195)
OKLCHoklch(76.24% 0.126 288.7)
XYZxyz(48.6797, 42.7556, 98.5974)
Luminance0.4276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA4FD #F2FDA4
analogous
#A4C6FD #AFA4FD #DCA4FD
triadic
#AFA4FD #FDAFA4 #A4FDAF
tetradic
#AFA4FD #FDA4C6 #F2FDA4 #A4FDDC
square
#AFA4FD #FDA4C6 #F2FDA4 #A4FDDC
split-complementary
#AFA4FD #FDDCA4 #C6FDA4
monochromatic
#462CFA #7A68FC #AFA4FD #E4E0FE #E5E1FE

Accessibility & contrast

On white

2.20
#AFA4FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#AFA4FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA4FD
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA4FD#FFFFFF#000000##000000
##AFA4FD1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB1FF
Deuteranopia (green-blind)
#8AADFB
Tritanopia (blue-blind)
#9CB4C5
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afa4fd;
/* rgb */ color: rgb(175, 164, 253);
/* oklch */ color: oklch(76.2% 0.126 288.7);
Tailwind
colors: {
  custom: {
    50: '#c9bffe',
    500: '#afa4fd',
    950: '#000000',
  },
}
SCSS
$custom: #afa4fd;
$custom-light: #c9bffe;
$custom-dark: #000000;
JSON
{
  "hex": "#afa4fd",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 253
  },
  "hsl": {
    "h": 247.416,
    "s": 95.699,
    "l": 81.765
  },
  "oklch": {
    "l": 0.7624,
    "c": 0.12613,
    "h": 288.7
  },
  "luminance": 0.42757
}

Semantic roles & 50–950 ramp

primary
#AFA4FD
secondary
#F2F7D4
accent
#E600C9
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131218
muted
#828186

Preview Lab

Preview with #AFA4FD

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

Preview Lab → · Contrast checker → · Palette generator →

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