#BBABF7#BBABF7

#BBABF7 is a light, moderate violet. Relative luminance 0.464; OKLCH L 78.2% C 0.108 H 293.4°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#BBABF7
RGBrgb(187, 171, 247)
HSLhsl(253, 83%, 82%)
HSVhsv(253, 31%, 97%)
CMYKcmyk(24.3%, 30.8%, 0%, 3.1%)
CIE-LABlab(73.81, 21.42, -35.73)
CIE-LCHlch(73.81, 41.66, 300.94°)
OKLaboklab(78.25% 0.0428 -0.0989)
OKLCHoklch(78.25% 0.108 293.4)
XYZxyz(51.8409, 46.4054, 94.2036)
Luminance0.4641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBABF7 #E7F7AB
analogous
#ABC1F7 #BBABF7 #E1ABF7
triadic
#BBABF7 #F7BBAB #ABF7BB
tetradic
#BBABF7 #F7ABC1 #E7F7AB #ABF7E1
square
#BBABF7 #F7ABC1 #E7F7AB #ABF7E1
split-complementary
#BBABF7 #F7E1AB #C1F7AB
monochromatic
#613BEC #8E73F2 #BBABF7 #E8E3FC #E8E3FC

Accessibility & contrast

On white

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

On black

10.28
#BBABF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBABF7
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBABF7#FFFFFF#000000##000000
##BBABF71.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B6FA
Deuteranopia (green-blind)
#9AB4F5
Tritanopia (blue-blind)
#AFB8C6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #bbabf7;
/* rgb */ color: rgb(187, 171, 247);
/* oklch */ color: oklch(78.2% 0.108 293.4);
Tailwind
colors: {
  custom: {
    50: '#d0c4fa',
    500: '#bbabf7',
    950: '#000000',
  },
}
SCSS
$custom: #bbabf7;
$custom-light: #d0c4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bbabf7",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 247
  },
  "hsl": {
    "h": 252.632,
    "s": 82.609,
    "l": 81.961
  },
  "oklch": {
    "l": 0.78248,
    "c": 0.10775,
    "h": 293.4
  },
  "luminance": 0.46406
}

Semantic roles & 50–950 ramp

primary
#BBABF7
secondary
#EEF4D7
accent
#DF06B1
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141217
muted
#828185

Preview Lab

Preview with #BBABF7

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

Preview Lab → · Contrast checker → · Palette generator →

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