#AFA9EB#AFA9EB

#AFA9EB is a light, moderate blue. Relative luminance 0.435; OKLCH L 76.4% C 0.094 H 288.1°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#AFA9EB
RGBrgb(175, 169, 235)
HSLhsl(245, 62%, 79%)
HSVhsv(245, 28%, 92%)
CMYKcmyk(25.5%, 28.1%, 0%, 7.8%)
CIE-LABlab(71.88, 16.18, -32.27)
CIE-LCHlch(71.88, 36.10, 296.63°)
OKLaboklab(76.38% 0.0292 -0.0892)
OKLCHoklch(76.38% 0.094 288.1)
XYZxyz(46.8588, 43.4872, 84.5062)
Luminance0.4349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA9EB #E5EBA9
analogous
#A9C4EB #AFA9EB #D0A9EB
triadic
#AFA9EB #EBAFA9 #A9EBAF
tetradic
#AFA9EB #EBA9C4 #E5EBA9 #A9EBD0
square
#AFA9EB #EBA9C4 #E5EBA9 #A9EBD0
split-complementary
#AFA9EB #EBD0A9 #C4EBA9
monochromatic
#5346D4 #8177DF #AFA9EB #DDDBF7 #E8E6F9

Accessibility & contrast

On white

2.17
#AFA9EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#AFA9EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA9EB
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA9EB#FFFFFF#000000##000000
##AFA9EB1.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B2EE
Deuteranopia (green-blind)
#97AFE9
Tritanopia (blue-blind)
#A2B4C0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afa9eb;
/* rgb */ color: rgb(175, 169, 235);
/* oklch */ color: oklch(76.4% 0.094 288.1);
Tailwind
colors: {
  custom: {
    50: '#c8c2f1',
    500: '#afa9eb',
    950: '#000000',
  },
}
SCSS
$custom: #afa9eb;
$custom-light: #c8c2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#afa9eb",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 235
  },
  "hsl": {
    "h": 245.455,
    "s": 62.264,
    "l": 79.216
  },
  "oklch": {
    "l": 0.76377,
    "c": 0.09384,
    "h": 288.1
  },
  "luminance": 0.43488
}

Semantic roles & 50–950 ramp

primary
#AFA9EB
secondary
#EFF1DA
accent
#CA1BBA
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFA9EB

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

Preview Lab → · Contrast checker → · Palette generator →

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