#AFAAEB#AFAAEB

#AFAAEB is a light, moderate blue. Relative luminance 0.439; OKLCH L 76.6% C 0.092 H 287.5°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#AFAAEB
RGBrgb(175, 170, 235)
HSLhsl(245, 62%, 79%)
HSVhsv(245, 28%, 92%)
CMYKcmyk(25.5%, 27.7%, 0%, 7.8%)
CIE-LABlab(72.14, 15.62, -31.89)
CIE-LCHlch(72.14, 35.51, 296.10°)
OKLaboklab(76.57% 0.0278 -0.0881)
OKLCHoklch(76.57% 0.092 287.5)
XYZxyz(47.0456, 43.8607, 84.5685)
Luminance0.4386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAAEB #E6EBAA
analogous
#AAC6EB #AFAAEB #D0AAEB
triadic
#AFAAEB #EBAFAA #AAEBAF
tetradic
#AFAAEB #EBAAC6 #E6EBAA #AAEBD0
square
#AFAAEB #EBAAC6 #E6EBAA #AAEBD0
split-complementary
#AFAAEB #EBD0AA #C6EBAA
monochromatic
#5247D4 #8078DF #AFAAEB #DEDCF7 #E8E6F9

Accessibility & contrast

On white

2.15
#AFAAEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#AFAAEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAAEB
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAAEB#FFFFFF#000000##000000
##AFAAEB1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B2EE
Deuteranopia (green-blind)
#98AFE9
Tritanopia (blue-blind)
#A2B5C1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afaaeb;
/* rgb */ color: rgb(175, 170, 235);
/* oklch */ color: oklch(76.6% 0.092 287.5);
Tailwind
colors: {
  custom: {
    50: '#c8c3f1',
    500: '#afaaeb',
    950: '#000000',
  },
}
SCSS
$custom: #afaaeb;
$custom-light: #c8c3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#afaaeb",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 235
  },
  "hsl": {
    "h": 244.615,
    "s": 61.905,
    "l": 79.412
  },
  "oklch": {
    "l": 0.76571,
    "c": 0.09237,
    "h": 287.5
  },
  "luminance": 0.43862
}

Semantic roles & 50–950 ramp

primary
#AFAAEB
secondary
#EFF1DA
accent
#CA1CBC
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFAAEB

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

Preview Lab → · Contrast checker → · Palette generator →

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