#B2ABEF#B2ABEF

#B2ABEF is a light, moderate blue. Relative luminance 0.448; OKLCH L 77.2% C 0.096 H 288.6°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#B2ABEF
RGBrgb(178, 171, 239)
HSLhsl(246, 68%, 80%)
HSVhsv(246, 28%, 94%)
CMYKcmyk(25.5%, 28.5%, 0%, 6.3%)
CIE-LABlab(72.77, 16.90, -33.05)
CIE-LCHlch(72.77, 37.12, 297.08°)
OKLaboklab(77.17% 0.0308 -0.0914)
OKLCHoklch(77.17% 0.096 288.6)
XYZxyz(48.4991, 44.8219, 87.7409)
Luminance0.4482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2ABEF #E8EFAB
analogous
#ABC6EF #B2ABEF #D4ABEF
triadic
#B2ABEF #EFB2AB #ABEFB2
tetradic
#B2ABEF #EFABC6 #E8EFAB #ABEFD4
square
#B2ABEF #EFABC6 #E8EFAB #ABEFD4
split-complementary
#B2ABEF #EFD4AB #C6EFAB
monochromatic
#5444DB #8378E5 #B2ABEF #E1DEF9 #E7E5FA

Accessibility & contrast

On white

2.11
#B2ABEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#B2ABEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2ABEF
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2ABEF#FFFFFF#000000##000000
##B2ABEF1.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B4F2
Deuteranopia (green-blind)
#99B1ED
Tritanopia (blue-blind)
#A4B7C3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b2abef;
/* rgb */ color: rgb(178, 171, 239);
/* oklch */ color: oklch(77.2% 0.096 288.6);
Tailwind
colors: {
  custom: {
    50: '#cac4f4',
    500: '#b2abef',
    950: '#000000',
  },
}
SCSS
$custom: #b2abef;
$custom-light: #cac4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b2abef",
  "rgb": {
    "r": 178,
    "g": 171,
    "b": 239
  },
  "hsl": {
    "h": 246.176,
    "s": 68,
    "l": 80.392
  },
  "oklch": {
    "l": 0.77173,
    "c": 0.09643,
    "h": 288.6
  },
  "luminance": 0.44823
}

Semantic roles & 50–950 ramp

primary
#B2ABEF
secondary
#EFF2D9
accent
#D016BD
background
#FCFCFE
surface
#F8F8FD
border
#D1D1D5
text
#131217
muted
#828185

Preview Lab

Preview with #B2ABEF

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

Preview Lab → · Contrast checker → · Palette generator →

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