#AFAAFB#AFAAFB

#AFAAFB is a light, moderate blue. Relative luminance 0.448; OKLCH L 77.3% C 0.115 H 286.2°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#AFAAFB
RGBrgb(175, 170, 251)
HSLhsl(244, 91%, 83%)
HSVhsv(244, 32%, 98%)
CMYKcmyk(30.3%, 32.3%, 0%, 1.6%)
CIE-LABlab(72.78, 19.51, -39.57)
CIE-LCHlch(72.78, 44.12, 296.25°)
OKLaboklab(77.28% 0.032 -0.1101)
OKLCHoklch(77.28% 0.115 286.2)
XYZxyz(49.4619, 44.8272, 97.2946)
Luminance0.4483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAAFB #F6FBAA
analogous
#AACDFB #AFAAFB #D8AAFB
triadic
#AFAAFB #FBAFAA #AAFBAF
tetradic
#AFAAFB #FBAACD #F6FBAA #AAFBD8
square
#AFAAFB #FBAACD #F6FBAA #AAFBD8
split-complementary
#AFAAFB #FBD8AA #CDFBAA
monochromatic
#4135F5 #7870F8 #AFAAFB #E3E2FE #E3E2FE

Accessibility & contrast

On white

2.11
#AFAAFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#AFAAFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAAFB
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAAFB#FFFFFF#000000##000000
##AFAAFB1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B5FE
Deuteranopia (green-blind)
#91B0F9
Tritanopia (blue-blind)
#9DB9C7
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afaafb;
/* rgb */ color: rgb(175, 170, 251);
/* oklch */ color: oklch(77.3% 0.115 286.2);
Tailwind
colors: {
  custom: {
    50: '#c8c3fd',
    500: '#afaafb',
    950: '#000000',
  },
}
SCSS
$custom: #afaafb;
$custom-light: #c8c3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#afaafb",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 251
  },
  "hsl": {
    "h": 243.704,
    "s": 91.011,
    "l": 82.549
  },
  "oklch": {
    "l": 0.77278,
    "c": 0.11466,
    "h": 286.2
  },
  "luminance": 0.44828
}

Semantic roles & 50–950 ramp

primary
#AFAAFB
secondary
#F4F6D5
accent
#E600D7
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #AFAAFB

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

Preview Lab → · Contrast checker → · Palette generator →

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