#AFA2F3#AFA2F3

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

Color values

HEX#AFA2F3
RGBrgb(175, 162, 243)
HSLhsl(250, 77%, 79%)
HSVhsv(250, 33%, 95%)
CMYKcmyk(28%, 33.3%, 0%, 4.7%)
CIE-LABlab(70.47, 22.02, -38.82)
CIE-LCHlch(70.47, 44.63, 299.57°)
OKLaboklab(75.4% 0.0408 -0.1079)
OKLCHoklch(75.4% 0.115 290.7)
XYZxyz(46.7731, 41.4248, 90.3082)
Luminance0.4143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA2F3 #E6F3A2
analogous
#A2BEF3 #AFA2F3 #D8A2F3
triadic
#AFA2F3 #F3AFA2 #A2F3AF
tetradic
#AFA2F3 #F3A2BE #E6F3A2 #A2F3D8
square
#AFA2F3 #F3A2BE #E6F3A2 #A2F3D8
split-complementary
#AFA2F3 #F3D8A2 #BEF3A2
monochromatic
#5236E5 #806CEC #AFA2F3 #DED8FA #E8E4FC

Accessibility & contrast

On white

2.26
#AFA2F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#AFA2F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA2F3
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA2F3#FFFFFF#000000##000000
##AFA2F31.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CAEF6
Deuteranopia (green-blind)
#8CABF1
Tritanopia (blue-blind)
#A0B0C0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afa2f3;
/* rgb */ color: rgb(175, 162, 243);
/* oklch */ color: oklch(75.4% 0.115 290.7);
Tailwind
colors: {
  custom: {
    50: '#c8bdf7',
    500: '#afa2f3',
    950: '#000000',
  },
}
SCSS
$custom: #afa2f3;
$custom-light: #c8bdf7;
$custom-dark: #000000;
JSON
{
  "hex": "#afa2f3",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 243
  },
  "hsl": {
    "h": 249.63,
    "s": 77.143,
    "l": 79.412
  },
  "oklch": {
    "l": 0.75398,
    "c": 0.11538,
    "h": 290.7
  },
  "luminance": 0.41426
}

Semantic roles & 50–950 ramp

primary
#AFA2F3
secondary
#EFF3D8
accent
#D90CB8
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131217
muted
#828185

Preview Lab

Preview with #AFA2F3

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

Preview Lab → · Contrast checker → · Palette generator →

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