#B2ABFF#B2ABFF

#B2ABFF is a light, moderate blue. Relative luminance 0.458; OKLCH L 77.9% C 0.119 H 287.1°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#B2ABFF
RGBrgb(178, 171, 255)
HSLhsl(245, 100%, 84%)
HSVhsv(245, 33%, 100%)
CMYKcmyk(30.2%, 32.9%, 0%, 0%)
CIE-LABlab(73.42, 20.78, -40.71)
CIE-LCHlch(73.42, 45.71, 297.04°)
OKLaboklab(77.89% 0.0349 -0.1133)
OKLCHoklch(77.89% 0.119 287.1)
XYZxyz(50.9683, 45.8096, 100.7451)
Luminance0.4581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2ABFF #F8FFAB
analogous
#ABCEFF #B2ABFF #DCABFF
triadic
#B2ABFF #FFB2AB #ABFFB2
tetradic
#B2ABFF #FFABCE #F8FFAB #ABFFDC
square
#B2ABFF #FFABCE #F8FFAB #ABFFDC
split-complementary
#B2ABFF #FFDCAB #CEFFAB
monochromatic
#4231FF #7A6EFF #B2ABFF #E3E0FF #E3E0FF

Accessibility & contrast

On white

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

On black

10.16
#B2ABFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2ABFF
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2ABFF#FFFFFF#000000##000000
##B2ABFF1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B6FF
Deuteranopia (green-blind)
#92B2FD
Tritanopia (blue-blind)
#9FBACA
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b2abff;
/* rgb */ color: rgb(178, 171, 255);
/* oklch */ color: oklch(77.9% 0.119 287.1);
Tailwind
colors: {
  custom: {
    50: '#cbc4ff',
    500: '#b2abff',
    950: '#000000',
  },
}
SCSS
$custom: #b2abff;
$custom-light: #cbc4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b2abff",
  "rgb": {
    "r": 178,
    "g": 171,
    "b": 255
  },
  "hsl": {
    "h": 245,
    "s": 100,
    "l": 83.529
  },
  "oklch": {
    "l": 0.77885,
    "c": 0.11859,
    "h": 287.1
  },
  "luminance": 0.45811
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2ABFF

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

Preview Lab → · Contrast checker → · Palette generator →

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