#BBABFC#BBABFC

#BBABFC is a light, moderate violet. Relative luminance 0.467; OKLCH L 78.5% C 0.115 H 292.6°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#BBABFC
RGBrgb(187, 171, 252)
HSLhsl(252, 93%, 83%)
HSVhsv(252, 32%, 99%)
CMYKcmyk(25.8%, 32.1%, 0%, 1.2%)
CIE-LABlab(74.01, 22.59, -38.12)
CIE-LCHlch(74.01, 44.32, 300.65°)
OKLaboklab(78.47% 0.0441 -0.1057)
OKLCHoklch(78.47% 0.115 292.6)
XYZxyz(52.6229, 46.7181, 98.3216)
Luminance0.4672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBABFC #ECFCAB
analogous
#ABC3FC #BBABFC #E3ABFC
triadic
#BBABFC #FCBBAB #ABFCBB
tetradic
#BBABFC #FCABC3 #ECFCAB #ABFCE3
square
#BBABFC #FCABC3 #ECFCAB #ABFCE3
split-complementary
#BBABFC #FCE3AB #C3FCAB
monochromatic
#5B35F8 #8B70FA #BBABFC #E7E1FE #E7E1FE

Accessibility & contrast

On white

2.03
#BBABFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#BBABFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBABFC
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBABFC#FFFFFF#000000##000000
##BBABFC1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B7FF
Deuteranopia (green-blind)
#97B4FA
Tritanopia (blue-blind)
#ADB9C8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #bbabfc;
/* rgb */ color: rgb(187, 171, 252);
/* oklch */ color: oklch(78.5% 0.115 292.6);
Tailwind
colors: {
  custom: {
    50: '#d1c4fd',
    500: '#bbabfc',
    950: '#000000',
  },
}
SCSS
$custom: #bbabfc;
$custom-light: #d1c4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#bbabfc",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 252
  },
  "hsl": {
    "h": 251.852,
    "s": 93.103,
    "l": 82.941
  },
  "oklch": {
    "l": 0.78469,
    "c": 0.11454,
    "h": 292.6
  },
  "luminance": 0.46719
}

Semantic roles & 50–950 ramp

primary
#BBABFC
secondary
#F0F6D5
accent
#E600B8
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141217
muted
#828185

Preview Lab

Preview with #BBABFC

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

Preview Lab → · Contrast checker → · Palette generator →

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