#B2AFFE#B2AFFE

#B2AFFE is a light, moderate blue. Relative luminance 0.473; OKLCH L 78.6% C 0.111 H 285.3°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#B2AFFE
RGBrgb(178, 175, 254)
HSLhsl(242, 98%, 84%)
HSVhsv(242, 31%, 100%)
CMYKcmyk(29.9%, 31.1%, 0%, 0.4%)
CIE-LABlab(74.37, 18.30, -38.70)
CIE-LCHlch(74.37, 42.81, 295.31°)
OKLaboklab(78.6% 0.0294 -0.1075)
OKLCHoklch(78.6% 0.111 285.3)
XYZxyz(51.5748, 47.2794, 100.1552)
Luminance0.4728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AFFE #FBFEAF
analogous
#AFD4FE #B2AFFE #DAAFFE
triadic
#B2AFFE #FEB2AF #AFFEB2
tetradic
#B2AFFE #FEAFD4 #FBFEAF #AFFEDA
square
#B2AFFE #FEAFD4 #FBFEAF #AFFEDA
split-complementary
#B2AFFE #FEDAAF #D4FEAF
monochromatic
#3E36FC #7873FD #B2AFFE #E2E1FF #E2E1FF

Accessibility & contrast

On white

2.01
#B2AFFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#B2AFFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AFFE
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AFFE#FFFFFF#000000##000000
##B2AFFE1.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B9FF
Deuteranopia (green-blind)
#96B5FC
Tritanopia (blue-blind)
#9FBDCB
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b2affe;
/* rgb */ color: rgb(178, 175, 254);
/* oklch */ color: oklch(78.6% 0.111 285.3);
Tailwind
colors: {
  custom: {
    50: '#cbc6ff',
    500: '#b2affe',
    950: '#000000',
  },
}
SCSS
$custom: #b2affe;
$custom-light: #cbc6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b2affe",
  "rgb": {
    "r": 178,
    "g": 175,
    "b": 254
  },
  "hsl": {
    "h": 242.278,
    "s": 97.531,
    "l": 84.118
  },
  "oklch": {
    "l": 0.78599,
    "c": 0.11148,
    "h": 285.3
  },
  "luminance": 0.47281
}

Semantic roles & 50–950 ramp

primary
#B2AFFE
secondary
#F6F7D4
accent
#E600DD
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#131318
muted
#828286

Preview Lab

Preview with #B2AFFE

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

Preview Lab → · Contrast checker → · Palette generator →

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