#AFAFE2#AFAFE2

#AFAFE2 is a light, moderate blue. Relative luminance 0.453; OKLCH L 77.2% C 0.072 H 284.6°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#AFAFE2
RGBrgb(175, 175, 226)
HSLhsl(240, 47%, 79%)
HSVhsv(240, 23%, 89%)
CMYKcmyk(22.6%, 22.6%, 0%, 11.4%)
CIE-LABlab(73.07, 10.74, -25.55)
CIE-LCHlch(73.07, 27.72, 292.79°)
OKLaboklab(77.18% 0.0182 -0.0701)
OKLCHoklch(77.18% 0.072 284.6)
XYZxyz(46.7333, 45.2641, 78.2114)
Luminance0.4526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAFE2 #E2E2AF
analogous
#AFC8E2 #AFAFE2 #C8AFE2
triadic
#AFAFE2 #E2AFAF #AFE2AF
tetradic
#AFAFE2 #E2AFC8 #E2E2AF #AFE2C8
square
#AFAFE2 #E2AFC8 #E2E2AF #AFE2C8
split-complementary
#AFAFE2 #E2C8AF #C8E2AF
monochromatic
#5555C1 #8282D2 #AFAFE2 #DCDCF2 #E9E9F7

Accessibility & contrast

On white

2.09
#AFAFE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#AFAFE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAFE2
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAFE2#FFFFFF#000000##000000
##AFAFE21.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2B5E4
Deuteranopia (green-blind)
#A0B2E1
Tritanopia (blue-blind)
#A4B8C0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afafe2;
/* rgb */ color: rgb(175, 175, 226);
/* oklch */ color: oklch(77.2% 0.072 284.6);
Tailwind
colors: {
  custom: {
    50: '#c7c6eb',
    500: '#afafe2',
    950: '#000000',
  },
}
SCSS
$custom: #afafe2;
$custom-light: #c7c6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#afafe2",
  "rgb": {
    "r": 175,
    "g": 175,
    "b": 226
  },
  "hsl": {
    "h": 240,
    "s": 46.789,
    "l": 78.627
  },
  "oklch": {
    "l": 0.7718,
    "c": 0.07247,
    "h": 284.6
  },
  "luminance": 0.45265
}

Semantic roles & 50–950 ramp

primary
#AFAFE2
secondary
#EEEEDD
accent
#BA2BBA
background
#FCFCFE
surface
#F8F8FD
border
#D1D1D5
text
#131316
muted
#828284

Preview Lab

Preview with #AFAFE2

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

Preview Lab → · Contrast checker → · Palette generator →

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