#AFA3F9#AFA3F9

#AFA3F9 is a light, vivid blue. Relative luminance 0.421; OKLCH L 75.9% C 0.122 H 289.6°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#AFA3F9
RGBrgb(175, 163, 249)
HSLhsl(248, 88%, 81%)
HSVhsv(248, 35%, 98%)
CMYKcmyk(29.7%, 34.5%, 0%, 2.4%)
CIE-LABlab(70.97, 22.94, -41.30)
CIE-LCHlch(70.97, 47.24, 299.04°)
OKLaboklab(75.86% 0.0409 -0.1151)
OKLCHoklch(75.86% 0.122 289.6)
XYZxyz(47.8709, 42.1469, 95.2172)
Luminance0.4215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA3F9 #EDF9A3
analogous
#A3C2F9 #AFA3F9 #DAA3F9
triadic
#AFA3F9 #F9AFA3 #A3F9AF
tetradic
#AFA3F9 #F9A3C2 #EDF9A3 #A3F9DA
square
#AFA3F9 #F9A3C2 #EDF9A3 #A3F9DA
split-complementary
#AFA3F9 #F9DAA3 #C2F9A3
monochromatic
#4B30F2 #7D6AF5 #AFA3F9 #E1DCFD #E6E2FD

Accessibility & contrast

On white

2.23
#AFA3F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#AFA3F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA3F9
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA3F9#FFFFFF#000000##000000
##AFA3F91.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BAFFC
Deuteranopia (green-blind)
#8BACF7
Tritanopia (blue-blind)
#9EB2C3
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afa3f9;
/* rgb */ color: rgb(175, 163, 249);
/* oklch */ color: oklch(75.9% 0.122 289.6);
Tailwind
colors: {
  custom: {
    50: '#c9befb',
    500: '#afa3f9',
    950: '#000000',
  },
}
SCSS
$custom: #afa3f9;
$custom-light: #c9befb;
$custom-dark: #000000;
JSON
{
  "hex": "#afa3f9",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 249
  },
  "hsl": {
    "h": 248.372,
    "s": 87.755,
    "l": 80.784
  },
  "oklch": {
    "l": 0.75864,
    "c": 0.12212,
    "h": 289.6
  },
  "luminance": 0.42148
}

Semantic roles & 50–950 ramp

primary
#AFA3F9
secondary
#F1F5D6
accent
#E401C5
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #AFA3F9

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

Preview Lab → · Contrast checker → · Palette generator →

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