#B4BAFA#B4BAFA

#B4BAFA is a light, moderate blue. Relative luminance 0.517; OKLCH L 80.7% C 0.091 H 280.0°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#B4BAFA
RGBrgb(180, 186, 250)
HSLhsl(235, 88%, 84%)
HSVhsv(235, 28%, 98%)
CMYKcmyk(28%, 25.6%, 0%, 2%)
CIE-LABlab(77.11, 11.82, -32.28)
CIE-LCHlch(77.11, 34.38, 290.11°)
OKLaboklab(80.71% 0.0157 -0.0892)
OKLCHoklch(80.71% 0.091 280)
XYZxyz(53.6320, 51.7218, 97.5815)
Luminance0.5172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BAFA #FAF4B4
analogous
#B4DDFA #B4BAFA #D1B4FA
triadic
#B4BAFA #FAB4BA #BAFAB4
tetradic
#B4BAFA #FAB4DD #FAF4B4 #B4FAD1
square
#B4BAFA #FAB4DD #FAF4B4 #B4FAD1
split-complementary
#B4BAFA #FAD1B4 #DDFAB4
monochromatic
#4150F2 #7B85F6 #B4BAFA #E2E5FD #E2E5FD

Accessibility & contrast

On white

1.85
#B4BAFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#B4BAFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BAFA
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BAFA#FFFFFF#000000##000000
##B4BAFA1.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8C1FD
Deuteranopia (green-blind)
#A4BCF8
Tritanopia (blue-blind)
#A3C6D0
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b4bafa;
/* rgb */ color: rgb(180, 186, 250);
/* oklch */ color: oklch(80.7% 0.091 280.0);
Tailwind
colors: {
  custom: {
    50: '#cccefc',
    500: '#b4bafa',
    950: '#000000',
  },
}
SCSS
$custom: #b4bafa;
$custom-light: #cccefc;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bafa",
  "rgb": {
    "r": 180,
    "g": 186,
    "b": 250
  },
  "hsl": {
    "h": 234.857,
    "s": 87.5,
    "l": 84.314
  },
  "oklch": {
    "l": 0.80707,
    "c": 0.09058,
    "h": 280
  },
  "luminance": 0.51723
}

Semantic roles & 50–950 ramp

primary
#B4BAFA
secondary
#DED574
accent
#D101E4
background
#FEFEFF
surface
#FAFAFF
border
#D3D3D7
text
#131317
muted
#838385

Preview Lab

Preview with #B4BAFA

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

Preview Lab → · Contrast checker → · Palette generator →

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