#B1AFFE#B1AFFE

#B1AFFE is a light, moderate blue. Relative luminance 0.472; OKLCH L 78.5% C 0.112 H 284.7°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#B1AFFE
RGBrgb(177, 175, 254)
HSLhsl(242, 98%, 84%)
HSVhsv(242, 31%, 100%)
CMYKcmyk(30.3%, 31.1%, 0%, 0.4%)
CIE-LABlab(74.29, 18.02, -38.82)
CIE-LCHlch(74.29, 42.80, 294.90°)
OKLaboklab(78.52% 0.0283 -0.1079)
OKLCHoklch(78.52% 0.112 284.7)
XYZxyz(51.3461, 47.1615, 100.1445)
Luminance0.4716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AFFE #FCFEAF
analogous
#AFD5FE #B1AFFE #D9AFFE
triadic
#B1AFFE #FEB1AF #AFFEB1
tetradic
#B1AFFE #FEAFD5 #FCFEAF #AFFED9
square
#B1AFFE #FEAFD5 #FCFEAF #AFFED9
split-complementary
#B1AFFE #FED9AF #D5FEAF
monochromatic
#3B36FC #7673FD #B1AFFE #E2E1FF #E2E1FF

Accessibility & contrast

On white

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

On black

10.43
#B1AFFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AFFE
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AFFE#FFFFFF#000000##000000
##B1AFFE1.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1affe;
/* rgb */ color: rgb(177, 175, 254);
/* oklch */ color: oklch(78.5% 0.112 284.7);
Tailwind
colors: {
  custom: {
    50: '#cac6ff',
    500: '#b1affe',
    950: '#000000',
  },
}
SCSS
$custom: #b1affe;
$custom-light: #cac6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b1affe",
  "rgb": {
    "r": 177,
    "g": 175,
    "b": 254
  },
  "hsl": {
    "h": 241.519,
    "s": 97.531,
    "l": 84.118
  },
  "oklch": {
    "l": 0.78523,
    "c": 0.11156,
    "h": 284.7
  },
  "luminance": 0.47163
}

Semantic roles & 50–950 ramp

primary
#B1AFFE
secondary
#F6F7D4
accent
#E600E0
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131318
muted
#828286

Preview Lab

Preview with #B1AFFE

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

Preview Lab → · Contrast checker → · Palette generator →

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