#AFA3F0#AFA3F0

#AFA3F0 is a light, moderate blue. Relative luminance 0.416; OKLCH L 75.4% C 0.110 H 290.7°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#AFA3F0
RGBrgb(175, 163, 240)
HSLhsl(249, 72%, 79%)
HSVhsv(249, 32%, 94%)
CMYKcmyk(27.1%, 32.1%, 0%, 5.9%)
CIE-LABlab(70.59, 20.74, -37.00)
CIE-LCHlch(70.59, 42.41, 299.27°)
OKLaboklab(75.45% 0.0387 -0.1027)
OKLCHoklch(75.45% 0.11 290.7)
XYZxyz(46.5007, 41.5988, 88.0006)
Luminance0.4160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA3F0 #E4F0A3
analogous
#A3BEF0 #AFA3F0 #D6A3F0
triadic
#AFA3F0 #F0AFA3 #A3F0AF
tetradic
#AFA3F0 #F0A3BE #E4F0A3 #A3F0D6
square
#AFA3F0 #F0A3BE #E4F0A3 #A3F0D6
split-complementary
#AFA3F0 #F0D6A3 #BEF0A3
monochromatic
#533ADF #816EE7 #AFA3F0 #DDD8F9 #E8E5FB

Accessibility & contrast

On white

2.25
#AFA3F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#AFA3F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA3F0
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA3F0#FFFFFF#000000##000000
##AFA3F01.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EAEF3
Deuteranopia (green-blind)
#8FABEE
Tritanopia (blue-blind)
#A1B0BF
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afa3f0;
/* rgb */ color: rgb(175, 163, 240);
/* oklch */ color: oklch(75.4% 0.110 290.7);
Tailwind
colors: {
  custom: {
    50: '#c8bef5',
    500: '#afa3f0',
    950: '#000000',
  },
}
SCSS
$custom: #afa3f0;
$custom-light: #c8bef5;
$custom-dark: #000000;
JSON
{
  "hex": "#afa3f0",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 240
  },
  "hsl": {
    "h": 249.351,
    "s": 71.963,
    "l": 79.02
  },
  "oklch": {
    "l": 0.75449,
    "c": 0.10975,
    "h": 290.7
  },
  "luminance": 0.416
}

Semantic roles & 50–950 ramp

primary
#AFA3F0
secondary
#EEF2D9
accent
#D411B6
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #AFA3F0

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

Preview Lab → · Contrast checker → · Palette generator →

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