#BBA7EB#BBA7EB

#BBA7EB is a light, moderate violet. Relative luminance 0.442; OKLCH L 77.0% C 0.098 H 297.6°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#BBA7EB
RGBrgb(187, 167, 235)
HSLhsl(258, 63%, 79%)
HSVhsv(258, 29%, 92%)
CMYKcmyk(20.4%, 28.9%, 0%, 7.8%)
CIE-LABlab(72.36, 20.88, -31.46)
CIE-LCHlch(72.36, 37.75, 303.57°)
OKLaboklab(76.98% 0.0452 -0.0866)
OKLCHoklch(76.98% 0.098 297.6)
XYZxyz(49.3043, 44.2001, 84.5151)
Luminance0.4420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA7EB #D7EBA7
analogous
#A7B5EB #BBA7EB #DDA7EB
triadic
#BBA7EB #EBBBA7 #A7EBBB
tetradic
#BBA7EB #EBA7B5 #D7EBA7 #A7EBDD
square
#BBA7EB #EBA7B5 #D7EBA7 #A7EBDD
split-complementary
#BBA7EB #EBDDA7 #B5EBA7
monochromatic
#6E43D4 #9475E0 #BBA7EB #E2D9F6 #ECE6F9

Accessibility & contrast

On white

2.13
#BBA7EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#BBA7EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA7EB
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA7EB#FFFFFF#000000##000000
##BBA7EB1.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B2EE
Deuteranopia (green-blind)
#9BB1E9
Tritanopia (blue-blind)
#B2B2BF
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bba7eb;
/* rgb */ color: rgb(187, 167, 235);
/* oklch */ color: oklch(77.0% 0.098 297.6);
Tailwind
colors: {
  custom: {
    50: '#d0c1f1',
    500: '#bba7eb',
    950: '#000000',
  },
}
SCSS
$custom: #bba7eb;
$custom-light: #d0c1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bba7eb",
  "rgb": {
    "r": 187,
    "g": 167,
    "b": 235
  },
  "hsl": {
    "h": 257.647,
    "s": 62.963,
    "l": 78.824
  },
  "oklch": {
    "l": 0.76982,
    "c": 0.09774,
    "h": 297.6
  },
  "luminance": 0.442
}

Semantic roles & 50–950 ramp

primary
#BBA7EB
secondary
#EAF1DA
accent
#CB1B97
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #BBA7EB

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

Preview Lab → · Contrast checker → · Palette generator →

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