#B5BAFA#B5BAFA

#B5BAFA is a light, moderate blue. Relative luminance 0.518; OKLCH L 80.8% C 0.090 H 280.7°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#B5BAFA
RGBrgb(181, 186, 250)
HSLhsl(236, 87%, 85%)
HSVhsv(236, 28%, 98%)
CMYKcmyk(27.6%, 25.6%, 0%, 2%)
CIE-LABlab(77.19, 12.11, -32.17)
CIE-LCHlch(77.19, 34.37, 290.62°)
OKLaboklab(80.78% 0.0168 -0.0888)
OKLCHoklch(80.78% 0.09 280.7)
XYZxyz(53.8657, 51.8423, 97.5925)
Luminance0.5184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BAFA #FAF5B5
analogous
#B5DDFA #B5BAFA #D3B5FA
triadic
#B5BAFA #FAB5BA #BAFAB5
tetradic
#B5BAFA #FAB5DD #FAF5B5 #B5FAD3
square
#B5BAFA #FAB5DD #FAF5B5 #B5FAD3
split-complementary
#B5BAFA #FAD3B5 #DDFAB5
monochromatic
#424FF2 #7C85F6 #B5BAFA #E2E4FD #E2E4FD

Accessibility & contrast

On white

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

On black

11.37
#B5BAFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BAFA
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BAFA#FFFFFF#000000##000000
##B5BAFA1.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8C1FD
Deuteranopia (green-blind)
#A5BCF8
Tritanopia (blue-blind)
#A4C6D0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b5bafa;
/* rgb */ color: rgb(181, 186, 250);
/* oklch */ color: oklch(80.8% 0.090 280.7);
Tailwind
colors: {
  custom: {
    50: '#cccefc',
    500: '#b5bafa',
    950: '#000000',
  },
}
SCSS
$custom: #b5bafa;
$custom-light: #cccefc;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bafa",
  "rgb": {
    "r": 181,
    "g": 186,
    "b": 250
  },
  "hsl": {
    "h": 235.652,
    "s": 87.342,
    "l": 84.51
  },
  "oklch": {
    "l": 0.80781,
    "c": 0.09042,
    "h": 280.7
  },
  "luminance": 0.51844
}

Semantic roles & 50–950 ramp

primary
#B5BAFA
secondary
#DED675
accent
#D402E4
background
#FEFEFF
surface
#FBFAFF
border
#D4D3D7
text
#131317
muted
#838385

Preview Lab

Preview with #B5BAFA

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

Preview Lab → · Contrast checker → · Palette generator →

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