#AFAFFA#AFAFFA

#AFAFFA is a light, moderate blue. Relative luminance 0.467; OKLCH L 78.2% C 0.106 H 283.7°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#AFAFFA
RGBrgb(175, 175, 250)
HSLhsl(240, 88%, 83%)
HSVhsv(240, 30%, 98%)
CMYKcmyk(30%, 30%, 0%, 2%)
CIE-LABlab(73.98, 16.48, -37.16)
CIE-LCHlch(73.98, 40.65, 293.91°)
OKLaboklab(78.19% 0.0251 -0.1032)
OKLCHoklch(78.19% 0.106 283.7)
XYZxyz(50.2599, 46.6747, 96.7850)
Luminance0.4668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAFFA #FAFAAF
analogous
#AFD4FA #AFAFFA #D4AFFA
triadic
#AFAFFA #FAAFAF #AFFAAF
tetradic
#AFAFFA #FAAFD4 #FAFAAF #AFFAD4
square
#AFAFFA #FAAFD4 #FAFAAF #AFFAD4
split-complementary
#AFAFFA #FAD4AF #D4FAAF
monochromatic
#3C3CF3 #7575F6 #AFAFFA #E2E2FD #E2E2FD

Accessibility & contrast

On white

2.03
#AFAFFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#AFAFFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAFFA
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAFFA#FFFFFF#000000##000000
##AFAFFA1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B8FD
Deuteranopia (green-blind)
#97B4F8
Tritanopia (blue-blind)
#9CBDCA
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afaffa;
/* rgb */ color: rgb(175, 175, 250);
/* oklch */ color: oklch(78.2% 0.106 283.7);
Tailwind
colors: {
  custom: {
    50: '#c8c6fc',
    500: '#afaffa',
    950: '#000000',
  },
}
SCSS
$custom: #afaffa;
$custom-light: #c8c6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#afaffa",
  "rgb": {
    "r": 175,
    "g": 175,
    "b": 250
  },
  "hsl": {
    "h": 240,
    "s": 88.235,
    "l": 83.333
  },
  "oklch": {
    "l": 0.78192,
    "c": 0.10619,
    "h": 283.7
  },
  "luminance": 0.46676
}

Semantic roles & 50–950 ramp

primary
#AFAFFA
secondary
#F5F5D6
accent
#E501E5
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131317
muted
#828285

Preview Lab

Preview with #AFAFFA

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

Preview Lab → · Contrast checker → · Palette generator →

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