#BAB4FF#BAB4FF

#BAB4FF is a light, moderate blue. Relative luminance 0.503; OKLCH L 80.2% C 0.105 H 287.4°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#BAB4FF
RGBrgb(186, 180, 255)
HSLhsl(245, 100%, 85%)
HSVhsv(245, 29%, 100%)
CMYKcmyk(27.1%, 29.4%, 0%, 0%)
CIE-LABlab(76.25, 18.04, -36.26)
CIE-LCHlch(76.25, 40.50, 296.45°)
OKLaboklab(80.22% 0.0316 -0.1004)
OKLCHoklch(80.22% 0.105 287.4)
XYZxyz(54.6164, 50.3005, 101.4198)
Luminance0.5030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB4FF #F9FFB4
analogous
#B4D3FF #BAB4FF #DFB4FF
triadic
#BAB4FF #FFBAB4 #B4FFBA
tetradic
#BAB4FF #FFB4D3 #F9FFB4 #B4FFDF
square
#BAB4FF #FFB4D3 #F9FFB4 #B4FFDF
split-complementary
#BAB4FF #FFDFB4 #D3FFB4
monochromatic
#493AFF #8277FF #BAB4FF #E3E0FF #E3E0FF

Accessibility & contrast

On white

1.90
#BAB4FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#BAB4FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB4FF
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB4FF#FFFFFF#000000##000000
##BAB4FF1.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0BEFF
Deuteranopia (green-blind)
#9FBAFD
Tritanopia (blue-blind)
#AAC1CF
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #bab4ff;
/* rgb */ color: rgb(186, 180, 255);
/* oklch */ color: oklch(80.2% 0.105 287.4);
Tailwind
colors: {
  custom: {
    50: '#d0caff',
    500: '#bab4ff',
    950: '#000000',
  },
}
SCSS
$custom: #bab4ff;
$custom-light: #d0caff;
$custom-dark: #000000;
JSON
{
  "hex": "#bab4ff",
  "rgb": {
    "r": 186,
    "g": 180,
    "b": 255
  },
  "hsl": {
    "h": 244.8,
    "s": 100,
    "l": 85.294
  },
  "oklch": {
    "l": 0.80216,
    "c": 0.10529,
    "h": 287.4
  },
  "luminance": 0.50302
}

Semantic roles & 50–950 ramp

primary
#BAB4FF
secondary
#DDE671
accent
#E600D3
background
#FEFDFF
surface
#FBF9FF
border
#D4D2D7
text
#141318
muted
#838286

Preview Lab

Preview with #BAB4FF

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

Preview Lab → · Contrast checker → · Palette generator →

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