#BABFF2#BABFF2

#BABFF2 is a light, moderate blue. Relative luminance 0.541; OKLCH L 81.8% C 0.072 H 280.3°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#BABFF2
RGBrgb(186, 191, 242)
HSLhsl(235, 68%, 84%)
HSVhsv(235, 23%, 95%)
CMYKcmyk(23.1%, 21.1%, 0%, 5.1%)
CIE-LABlab(78.53, 8.97, -25.78)
CIE-LCHlch(78.53, 27.30, 289.19°)
OKLaboklab(81.82% 0.0129 -0.0707)
OKLCHoklch(81.82% 0.072 280.3)
XYZxyz(54.9035, 54.1104, 91.5389)
Luminance0.5411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABFF2 #F2EDBA
analogous
#BADBF2 #BABFF2 #D1BAF2
triadic
#BABFF2 #F2BABF #BFF2BA
tetradic
#BABFF2 #F2BADB #F2EDBA #BAF2D1
square
#BABFF2 #F2BADB #F2EDBA #BAF2D1
split-complementary
#BABFF2 #F2D1BA #DBF2BA
monochromatic
#535FDF #878FE8 #BABFF2 #E5E7FA #E5E7FA

Accessibility & contrast

On white

1.78
#BABFF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#BABFF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABFF2
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABFF2#FFFFFF#000000##000000
##BABFF21.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1C4F4
Deuteranopia (green-blind)
#AFC0F1
Tritanopia (blue-blind)
#ADC8D0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #babff2;
/* rgb */ color: rgb(186, 191, 242);
/* oklch */ color: oklch(81.8% 0.072 280.3);
Tailwind
colors: {
  custom: {
    50: '#cfd2f6',
    500: '#babff2',
    950: '#000000',
  },
}
SCSS
$custom: #babff2;
$custom-light: #cfd2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#babff2",
  "rgb": {
    "r": 186,
    "g": 191,
    "b": 242
  },
  "hsl": {
    "h": 234.643,
    "s": 68.293,
    "l": 83.922
  },
  "oklch": {
    "l": 0.81817,
    "c": 0.07189,
    "h": 280.3
  },
  "luminance": 0.54112
}

Semantic roles & 50–950 ramp

primary
#BABFF2
secondary
#D2CA7F
accent
#C015D0
background
#FEFEFF
surface
#FBFBFE
border
#D4D4D6
text
#141417
muted
#838385

Preview Lab

Preview with #BABFF2

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

Preview Lab → · Contrast checker → · Palette generator →

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