#BBABF8#BBABF8

#BBABF8 is a light, moderate violet. Relative luminance 0.465; OKLCH L 78.3% C 0.109 H 293.2°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#BBABF8
RGBrgb(187, 171, 248)
HSLhsl(252, 85%, 82%)
HSVhsv(252, 31%, 97%)
CMYKcmyk(24.6%, 31%, 0%, 2.7%)
CIE-LABlab(73.85, 21.65, -36.21)
CIE-LCHlch(73.85, 42.19, 300.88°)
OKLaboklab(78.29% 0.0431 -0.1003)
OKLCHoklch(78.29% 0.109 293.2)
XYZxyz(51.9957, 46.4673, 95.0184)
Luminance0.4647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBABF8 #E8F8AB
analogous
#ABC1F8 #BBABF8 #E2ABF8
triadic
#BBABF8 #F8BBAB #ABF8BB
tetradic
#BBABF8 #F8ABC1 #E8F8AB #ABF8E2
square
#BBABF8 #F8ABC1 #E8F8AB #ABF8E2
split-complementary
#BBABF8 #F8E2AB #C1F8AB
monochromatic
#603AEF #8D73F3 #BBABF8 #E8E3FD #E8E3FD

Accessibility & contrast

On white

2.04
#BBABF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#BBABF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBABF8
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBABF8#FFFFFF#000000##000000
##BBABF81.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B6FB
Deuteranopia (green-blind)
#99B4F6
Tritanopia (blue-blind)
#AEB8C7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #bbabf8;
/* rgb */ color: rgb(187, 171, 248);
/* oklch */ color: oklch(78.3% 0.109 293.2);
Tailwind
colors: {
  custom: {
    50: '#d0c4fb',
    500: '#bbabf8',
    950: '#000000',
  },
}
SCSS
$custom: #bbabf8;
$custom-light: #d0c4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bbabf8",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 248
  },
  "hsl": {
    "h": 252.468,
    "s": 84.615,
    "l": 82.157
  },
  "oklch": {
    "l": 0.78292,
    "c": 0.10911,
    "h": 293.2
  },
  "luminance": 0.46468
}

Semantic roles & 50–950 ramp

primary
#BBABF8
secondary
#EEF5D6
accent
#E104B3
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141217
muted
#828185

Preview Lab

Preview with #BBABF8

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

Preview Lab → · Contrast checker → · Palette generator →

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