#AFA9F0#AFA9F0

#AFA9F0 is a light, moderate blue. Relative luminance 0.438; OKLCH L 76.6% C 0.101 H 287.6°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#AFA9F0
RGBrgb(175, 169, 240)
HSLhsl(245, 70%, 80%)
HSVhsv(245, 30%, 94%)
CMYKcmyk(27.1%, 29.6%, 0%, 5.9%)
CIE-LABlab(72.08, 17.38, -34.69)
CIE-LCHlch(72.08, 38.80, 296.61°)
OKLaboklab(76.59% 0.0306 -0.0961)
OKLCHoklch(76.59% 0.101 287.6)
XYZxyz(47.5914, 43.7802, 88.3642)
Luminance0.4378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA9F0 #EAF0A9
analogous
#A9C7F0 #AFA9F0 #D2A9F0
triadic
#AFA9F0 #F0AFA9 #A9F0AF
tetradic
#AFA9F0 #F0A9C7 #EAF0A9 #A9F0D2
square
#AFA9F0 #F0A9C7 #EAF0A9 #A9F0D2
split-complementary
#AFA9F0 #F0D2A9 #C7F0A9
monochromatic
#4E41DE #7F75E7 #AFA9F0 #DFDDF9 #E7E5FA

Accessibility & contrast

On white

2.15
#AFA9F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#AFA9F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA9F0
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA9F0#FFFFFF#000000##000000
##AFA9F01.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B2F3
Deuteranopia (green-blind)
#95AFEE
Tritanopia (blue-blind)
#A0B5C2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afa9f0;
/* rgb */ color: rgb(175, 169, 240);
/* oklch */ color: oklch(76.6% 0.101 287.6);
Tailwind
colors: {
  custom: {
    50: '#c8c2f5',
    500: '#afa9f0',
    950: '#000000',
  },
}
SCSS
$custom: #afa9f0;
$custom-light: #c8c2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#afa9f0",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 240
  },
  "hsl": {
    "h": 245.07,
    "s": 70.297,
    "l": 80.196
  },
  "oklch": {
    "l": 0.76594,
    "c": 0.10082,
    "h": 287.6
  },
  "luminance": 0.43781
}

Semantic roles & 50–950 ramp

primary
#AFA9F0
secondary
#F0F2D9
accent
#D213C2
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #AFA9F0

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

Preview Lab → · Contrast checker → · Palette generator →

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