#BAB8FA#BAB8FA

#BAB8FA is a light, moderate blue. Relative luminance 0.516; OKLCH L 80.8% C 0.093 H 285.5°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#BAB8FA
RGBrgb(186, 184, 250)
HSLhsl(242, 87%, 85%)
HSVhsv(242, 26%, 98%)
CMYKcmyk(25.6%, 26.4%, 0%, 2%)
CIE-LABlab(77.05, 14.65, -32.34)
CIE-LCHlch(77.05, 35.51, 294.38°)
OKLaboklab(80.77% 0.0248 -0.0893)
OKLCHoklch(80.77% 0.093 285.5)
XYZxyz(54.6412, 51.6211, 97.5090)
Luminance0.5162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB8FA #F8FAB8
analogous
#B8D7FA #BAB8FA #DBB8FA
triadic
#BAB8FA #FABAB8 #B8FABA
tetradic
#BAB8FA #FAB8D7 #F8FAB8 #B8FADB
square
#BAB8FA #FAB8D7 #F8FAB8 #B8FADB
split-complementary
#BAB8FA #FADBB8 #D7FAB8
monochromatic
#4B46F2 #827FF6 #BAB8FA #E3E2FD #E3E2FD

Accessibility & contrast

On white

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

On black

11.32
#BAB8FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB8FA
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB8FA#FFFFFF#000000##000000
##BAB8FA1.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6C0FD
Deuteranopia (green-blind)
#A5BCF8
Tritanopia (blue-blind)
#ABC3CF
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #bab8fa;
/* rgb */ color: rgb(186, 184, 250);
/* oklch */ color: oklch(80.8% 0.093 285.5);
Tailwind
colors: {
  custom: {
    50: '#d0cdfc',
    500: '#bab8fa',
    950: '#000000',
  },
}
SCSS
$custom: #bab8fa;
$custom-light: #d0cdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#bab8fa",
  "rgb": {
    "r": 186,
    "g": 184,
    "b": 250
  },
  "hsl": {
    "h": 241.818,
    "s": 86.842,
    "l": 85.098
  },
  "oklch": {
    "l": 0.8077,
    "c": 0.09264,
    "h": 285.5
  },
  "luminance": 0.51622
}

Semantic roles & 50–950 ramp

primary
#BAB8FA
secondary
#DBDE78
accent
#E302DD
background
#FEFEFF
surface
#FBFAFF
border
#D4D3D7
text
#141317
muted
#838385

Preview Lab

Preview with #BAB8FA

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

Preview Lab → · Contrast checker → · Palette generator →

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