#BAB3FA#BAB3FA

#BAB3FA is a light, moderate blue. Relative luminance 0.496; OKLCH L 79.8% C 0.100 H 288.4°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#BAB3FA
RGBrgb(186, 179, 250)
HSLhsl(246, 88%, 84%)
HSVhsv(246, 28%, 98%)
CMYKcmyk(25.6%, 28.4%, 0%, 2%)
CIE-LABlab(75.81, 17.41, -34.26)
CIE-LCHlch(75.81, 38.43, 296.94°)
OKLaboklab(79.81% 0.0316 -0.0947)
OKLCHoklch(79.81% 0.1 288.4)
XYZxyz(53.6208, 49.5805, 97.1689)
Luminance0.4958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB3FA #F3FAB3
analogous
#B3D0FA #BAB3FA #DEB3FA
triadic
#BAB3FA #FABAB3 #B3FABA
tetradic
#BAB3FA #FAB3D0 #F3FAB3 #B3FADE
square
#BAB3FA #FAB3D0 #F3FAB3 #B3FADE
split-complementary
#BAB3FA #FADEB3 #D0FAB3
monochromatic
#5240F2 #867AF6 #BAB3FA #E5E2FD #E5E2FD

Accessibility & contrast

On white

1.92
#BAB3FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#BAB3FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB3FA
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB3FA#FFFFFF#000000##000000
##BAB3FA1.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0BCFD
Deuteranopia (green-blind)
#A0B9F8
Tritanopia (blue-blind)
#ACBFCC
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bab3fa;
/* rgb */ color: rgb(186, 179, 250);
/* oklch */ color: oklch(79.8% 0.100 288.4);
Tailwind
colors: {
  custom: {
    50: '#d0c9fc',
    500: '#bab3fa',
    950: '#000000',
  },
}
SCSS
$custom: #bab3fa;
$custom-light: #d0c9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#bab3fa",
  "rgb": {
    "r": 186,
    "g": 179,
    "b": 250
  },
  "hsl": {
    "h": 245.915,
    "s": 87.654,
    "l": 84.118
  },
  "oklch": {
    "l": 0.7981,
    "c": 0.09983,
    "h": 288.4
  },
  "luminance": 0.49581
}

Semantic roles & 50–950 ramp

primary
#BAB3FA
secondary
#F2F5D6
accent
#E401CE
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141317
muted
#828285

Preview Lab

Preview with #BAB3FA

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

Preview Lab → · Contrast checker → · Palette generator →

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