#AFA3FF#AFA3FF

#AFA3FF is a light, vivid blue. Relative luminance 0.425; OKLCH L 76.1% C 0.130 H 288.9°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#AFA3FF
RGBrgb(175, 163, 255)
HSLhsl(248, 100%, 82%)
HSVhsv(248, 36%, 100%)
CMYKcmyk(31.4%, 36.1%, 0%, 0%)
CIE-LABlab(71.23, 24.43, -44.15)
CIE-LCHlch(71.23, 50.46, 298.96°)
OKLaboklab(76.15% 0.0422 -0.1233)
OKLCHoklch(76.15% 0.13 288.9)
XYZxyz(48.8217, 42.5272, 100.2247)
Luminance0.4253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA3FF #F3FFA3
analogous
#A3C5FF #AFA3FF #DDA3FF
triadic
#AFA3FF #FFAFA3 #A3FFAF
tetradic
#AFA3FF #FFA3C5 #F3FFA3 #A3FFDD
square
#AFA3FF #FFA3C5 #F3FFA3 #A3FFDD
split-complementary
#AFA3FF #FFDDA3 #C5FFA3
monochromatic
#4529FF #7A66FF #AFA3FF #E4E0FF #E4E0FF

Accessibility & contrast

On white

2.21
#AFA3FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#AFA3FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA3FF
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA3FF#FFFFFF#000000##000000
##AFA3FF1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#88B0FF
Deuteranopia (green-blind)
#88ACFD
Tritanopia (blue-blind)
#9CB4C5
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afa3ff;
/* rgb */ color: rgb(175, 163, 255);
/* oklch */ color: oklch(76.1% 0.130 288.9);
Tailwind
colors: {
  custom: {
    50: '#c9beff',
    500: '#afa3ff',
    950: '#000000',
  },
}
SCSS
$custom: #afa3ff;
$custom-light: #c9beff;
$custom-dark: #000000;
JSON
{
  "hex": "#afa3ff",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 255
  },
  "hsl": {
    "h": 247.826,
    "s": 100,
    "l": 81.961
  },
  "oklch": {
    "l": 0.76149,
    "c": 0.13033,
    "h": 288.9
  },
  "luminance": 0.42528
}

Semantic roles & 50–950 ramp

primary
#AFA3FF
secondary
#F3F7D4
accent
#E600C8
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131218
muted
#828186

Preview Lab

Preview with #AFA3FF

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

Preview Lab → · Contrast checker → · Palette generator →

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