#B2ABFA#B2ABFA

#B2ABFA is a light, moderate blue. Relative luminance 0.455; OKLCH L 77.7% C 0.112 H 287.6°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#B2ABFA
RGBrgb(178, 171, 250)
HSLhsl(245, 89%, 83%)
HSVhsv(245, 32%, 98%)
CMYKcmyk(28.8%, 31.6%, 0%, 2%)
CIE-LABlab(73.21, 19.55, -38.33)
CIE-LCHlch(73.21, 43.03, 297.02°)
OKLaboklab(77.66% 0.0337 -0.1065)
OKLCHoklch(77.66% 0.112 287.6)
XYZxyz(50.1739, 45.4918, 96.5613)
Luminance0.4549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2ABFA #F3FAAB
analogous
#ABCCFA #B2ABFA #D9ABFA
triadic
#B2ABFA #FAB2AB #ABFAB2
tetradic
#B2ABFA #FAABCC #F3FAAB #ABFAD9
square
#B2ABFA #FAABCC #F3FAAB #ABFAD9
split-complementary
#B2ABFA #FAD9AB #CCFAAB
monochromatic
#4837F3 #7D71F7 #B2ABFA #E5E2FD #E5E2FD

Accessibility & contrast

On white

2.08
#B2ABFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#B2ABFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2ABFA
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2ABFA#FFFFFF#000000##000000
##B2ABFA1.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B6FD
Deuteranopia (green-blind)
#94B2F8
Tritanopia (blue-blind)
#A1B9C7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b2abfa;
/* rgb */ color: rgb(178, 171, 250);
/* oklch */ color: oklch(77.7% 0.112 287.6);
Tailwind
colors: {
  custom: {
    50: '#cac4fc',
    500: '#b2abfa',
    950: '#000000',
  },
}
SCSS
$custom: #b2abfa;
$custom-light: #cac4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b2abfa",
  "rgb": {
    "r": 178,
    "g": 171,
    "b": 250
  },
  "hsl": {
    "h": 245.316,
    "s": 88.764,
    "l": 82.549
  },
  "oklch": {
    "l": 0.77657,
    "c": 0.11169,
    "h": 287.6
  },
  "luminance": 0.45493
}

Semantic roles & 50–950 ramp

primary
#B2ABFA
secondary
#F3F5D6
accent
#E500D1
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#131217
muted
#828185

Preview Lab

Preview with #B2ABFA

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

Preview Lab → · Contrast checker → · Palette generator →

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