#AFA9F5#AFA9F5

#AFA9F5 is a light, moderate blue. Relative luminance 0.441; OKLCH L 76.8% C 0.108 H 287.2°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#AFA9F5
RGBrgb(175, 169, 245)
HSLhsl(245, 79%, 81%)
HSVhsv(245, 31%, 96%)
CMYKcmyk(28.6%, 31%, 0%, 3.9%)
CIE-LABlab(72.28, 18.59, -37.09)
CIE-LCHlch(72.28, 41.49, 296.62°)
OKLaboklab(76.82% 0.0319 -0.103)
OKLCHoklch(76.82% 0.108 287.2)
XYZxyz(48.3444, 44.0814, 92.3300)
Luminance0.4408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA9F5 #EFF5A9
analogous
#A9C9F5 #AFA9F5 #D5A9F5
triadic
#AFA9F5 #F5AFA9 #A9F5AF
tetradic
#AFA9F5 #F5A9C9 #EFF5A9 #A9F5D5
square
#AFA9F5 #F5A9C9 #EFF5A9 #A9F5D5
split-complementary
#AFA9F5 #F5D5A9 #C9F5A9
monochromatic
#493BE8 #7C72EF #AFA9F5 #E2E0FB #E6E4FC

Accessibility & contrast

On white

2.14
#AFA9F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#AFA9F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA9F5
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA9F5#FFFFFF#000000##000000
##AFA9F51.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B3F8
Deuteranopia (green-blind)
#93AFF3
Tritanopia (blue-blind)
#9FB6C4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afa9f5;
/* rgb */ color: rgb(175, 169, 245);
/* oklch */ color: oklch(76.8% 0.108 287.2);
Tailwind
colors: {
  custom: {
    50: '#c8c2f8',
    500: '#afa9f5',
    950: '#000000',
  },
}
SCSS
$custom: #afa9f5;
$custom-light: #c8c2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#afa9f5",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 245
  },
  "hsl": {
    "h": 244.737,
    "s": 79.167,
    "l": 81.176
  },
  "oklch": {
    "l": 0.76816,
    "c": 0.10778,
    "h": 287.2
  },
  "luminance": 0.44082
}

Semantic roles & 50–950 ramp

primary
#AFA9F5
secondary
#F1F4D7
accent
#DB0ACB
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #AFA9F5

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

Preview Lab → · Contrast checker → · Palette generator →

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