#B2ABFE#B2ABFE

#B2ABFE is a light, moderate blue. Relative luminance 0.457; OKLCH L 77.8% C 0.117 H 287.2°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#B2ABFE
RGBrgb(178, 171, 254)
HSLhsl(245, 98%, 83%)
HSVhsv(245, 33%, 100%)
CMYKcmyk(29.9%, 32.7%, 0%, 0.4%)
CIE-LABlab(73.38, 20.53, -40.24)
CIE-LCHlch(73.38, 45.17, 297.03°)
OKLaboklab(77.84% 0.0347 -0.112)
OKLCHoklch(77.84% 0.117 287.2)
XYZxyz(50.8077, 45.7454, 99.8996)
Luminance0.4575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2ABFE #F7FEAB
analogous
#ABCDFE #B2ABFE #DBABFE
triadic
#B2ABFE #FEB2AB #ABFEB2
tetradic
#B2ABFE #FEABCD #F7FEAB #ABFEDB
square
#B2ABFE #FEABCD #F7FEAB #ABFEDB
split-complementary
#B2ABFE #FEDBAB #CDFEAB
monochromatic
#4332FD #7B6FFD #B2ABFE #E3E1FF #E3E1FF

Accessibility & contrast

On white

2.07
#B2ABFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#B2ABFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2ABFE
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2ABFE#FFFFFF#000000##000000
##B2ABFE1.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B6FF
Deuteranopia (green-blind)
#92B2FC
Tritanopia (blue-blind)
#A0BAC9
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b2abfe;
/* rgb */ color: rgb(178, 171, 254);
/* oklch */ color: oklch(77.8% 0.117 287.2);
Tailwind
colors: {
  custom: {
    50: '#cbc4ff',
    500: '#b2abfe',
    950: '#000000',
  },
}
SCSS
$custom: #b2abfe;
$custom-light: #cbc4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b2abfe",
  "rgb": {
    "r": 178,
    "g": 171,
    "b": 254
  },
  "hsl": {
    "h": 245.06,
    "s": 97.647,
    "l": 83.333
  },
  "oklch": {
    "l": 0.77839,
    "c": 0.11721,
    "h": 287.2
  },
  "luminance": 0.45747
}

Semantic roles & 50–950 ramp

primary
#B2ABFE
secondary
#F4F7D4
accent
#E600D2
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#131218
muted
#828186

Preview Lab

Preview with #B2ABFE

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

Preview Lab → · Contrast checker → · Palette generator →

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