#AFB7FF#AFB7FF

#AFB7FF is a light, moderate blue. Relative luminance 0.502; OKLCH L 80.0% C 0.102 H 278.9°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#AFB7FF
RGBrgb(175, 183, 255)
HSLhsl(234, 100%, 84%)
HSVhsv(234, 31%, 100%)
CMYKcmyk(31.4%, 28.2%, 0%, 0%)
CIE-LABlab(76.19, 13.28, -36.42)
CIE-LCHlch(76.19, 38.77, 290.03°)
OKLaboklab(79.97% 0.0159 -0.1011)
OKLCHoklch(79.97% 0.102 278.9)
XYZxyz(52.6577, 50.1993, 101.5034)
Luminance0.5020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB7FF #FFF7AF
analogous
#AFDFFF #AFB7FF #CFAFFF
triadic
#AFB7FF #FFAFB7 #B7FFAF
tetradic
#AFB7FF #FFAFDF #FFF7AF #AFFFCF
square
#AFB7FF #FFAFDF #FFF7AF #AFFFCF
split-complementary
#AFB7FF #FFCFAF #DFFFAF
monochromatic
#3549FF #7280FF #AFB7FF #E0E3FF #E0E3FF

Accessibility & contrast

On white

1.90
#AFB7FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#AFB7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB7FF
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB7FF#FFFFFF#000000##000000
##AFB7FF1.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1BFFF
Deuteranopia (green-blind)
#9DB9FD
Tritanopia (blue-blind)
#9AC4D0
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afb7ff;
/* rgb */ color: rgb(175, 183, 255);
/* oklch */ color: oklch(80.0% 0.102 278.9);
Tailwind
colors: {
  custom: {
    50: '#c8ccff',
    500: '#afb7ff',
    950: '#000000',
  },
}
SCSS
$custom: #afb7ff;
$custom-light: #c8ccff;
$custom-dark: #000000;
JSON
{
  "hex": "#afb7ff",
  "rgb": {
    "r": 175,
    "g": 183,
    "b": 255
  },
  "hsl": {
    "h": 234,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.79966,
    "c": 0.10233,
    "h": 278.9
  },
  "luminance": 0.50201
}

Semantic roles & 50–950 ramp

primary
#AFB7FF
secondary
#E5D96D
accent
#CF00E6
background
#FEFEFF
surface
#FAFAFF
border
#D3D3D7
text
#131318
muted
#838386

Preview Lab

Preview with #AFB7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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