#AFA3F2#AFA3F2

#AFA3F2 is a light, moderate blue. Relative luminance 0.417; OKLCH L 75.5% C 0.113 H 290.4°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#AFA3F2
RGBrgb(175, 163, 242)
HSLhsl(249, 75%, 79%)
HSVhsv(249, 33%, 95%)
CMYKcmyk(27.7%, 32.6%, 0%, 5.1%)
CIE-LABlab(70.68, 21.22, -37.96)
CIE-LCHlch(70.68, 43.49, 299.21°)
OKLaboklab(75.54% 0.0392 -0.1054)
OKLCHoklch(75.54% 0.113 290.4)
XYZxyz(46.7994, 41.7183, 89.5740)
Luminance0.4172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA3F2 #E6F2A3
analogous
#A3BFF2 #AFA3F2 #D7A3F2
triadic
#AFA3F2 #F2AFA3 #A3F2AF
tetradic
#AFA3F2 #F2A3BF #E6F2A3 #A3F2D7
square
#AFA3F2 #F2A3BF #E6F2A3 #A3F2D7
split-complementary
#AFA3F2 #F2D7A3 #BFF2A3
monochromatic
#5238E3 #806DEA #AFA3F2 #DED9FA #E8E4FB

Accessibility & contrast

On white

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

On black

9.34
#AFA3F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA3F2
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA3F2#FFFFFF#000000##000000
##AFA3F21.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EAEF5
Deuteranopia (green-blind)
#8EABF0
Tritanopia (blue-blind)
#A0B1C0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afa3f2;
/* rgb */ color: rgb(175, 163, 242);
/* oklch */ color: oklch(75.5% 0.113 290.4);
Tailwind
colors: {
  custom: {
    50: '#c8bef6',
    500: '#afa3f2',
    950: '#000000',
  },
}
SCSS
$custom: #afa3f2;
$custom-light: #c8bef6;
$custom-dark: #000000;
JSON
{
  "hex": "#afa3f2",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 242
  },
  "hsl": {
    "h": 249.114,
    "s": 75.238,
    "l": 79.412
  },
  "oklch": {
    "l": 0.7554,
    "c": 0.11251,
    "h": 290.4
  },
  "luminance": 0.41719
}

Semantic roles & 50–950 ramp

primary
#AFA3F2
secondary
#EFF3D8
accent
#D70EB9
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131217
muted
#828185

Preview Lab

Preview with #AFA3F2

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

Preview Lab → · Contrast checker → · Palette generator →

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