#BAB5F5#BAB5F5

#BAB5F5 is a light, moderate blue. Relative luminance 0.501; OKLCH L 80.0% C 0.090 H 287.8°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#BAB5F5
RGBrgb(186, 181, 245)
HSLhsl(245, 76%, 84%)
HSVhsv(245, 26%, 96%)
CMYKcmyk(24.1%, 26.1%, 0%, 3.9%)
CIE-LABlab(76.12, 15.13, -31.09)
CIE-LCHlch(76.12, 34.58, 295.95°)
OKLaboklab(79.98% 0.0275 -0.0857)
OKLCHoklch(79.98% 0.09 287.8)
XYZxyz(53.2510, 50.0785, 93.2291)
Luminance0.5008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB5F5 #F0F5B5
analogous
#B5D0F5 #BAB5F5 #DAB5F5
triadic
#BAB5F5 #F5BAB5 #B5F5BA
tetradic
#BAB5F5 #F5B5D0 #F0F5B5 #B5F5DA
square
#BAB5F5 #F5B5D0 #F0F5B5 #B5F5DA
split-complementary
#BAB5F5 #F5DAB5 #D0F5B5
monochromatic
#5549E6 #887FEE #BAB5F5 #E6E4FB #E6E4FB

Accessibility & contrast

On white

1.91
#BAB5F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#BAB5F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB5F5
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB5F5#FFFFFF#000000##000000
##BAB5F51.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5BDF8
Deuteranopia (green-blind)
#A4BAF3
Tritanopia (blue-blind)
#ADC0CB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #bab5f5;
/* rgb */ color: rgb(186, 181, 245);
/* oklch */ color: oklch(80.0% 0.090 287.8);
Tailwind
colors: {
  custom: {
    50: '#cfcbf8',
    500: '#bab5f5',
    950: '#000000',
  },
}
SCSS
$custom: #bab5f5;
$custom-light: #cfcbf8;
$custom-dark: #000000;
JSON
{
  "hex": "#bab5f5",
  "rgb": {
    "r": 186,
    "g": 181,
    "b": 245
  },
  "hsl": {
    "h": 244.688,
    "s": 76.19,
    "l": 83.529
  },
  "oklch": {
    "l": 0.79984,
    "c": 0.08999,
    "h": 287.8
  },
  "luminance": 0.50079
}

Semantic roles & 50–950 ramp

primary
#BAB5F5
secondary
#CFD678
accent
#D80DC9
background
#FEFDFF
surface
#FBF9FF
border
#D4D2D7
text
#141317
muted
#838285

Preview Lab

Preview with #BAB5F5

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

Preview Lab → · Contrast checker → · Palette generator →

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