#BBA7EA#BBA7EA

#BBA7EA is a light, moderate violet. Relative luminance 0.441; OKLCH L 76.9% C 0.096 H 297.8°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#BBA7EA
RGBrgb(187, 167, 234)
HSLhsl(258, 61%, 79%)
HSVhsv(258, 29%, 92%)
CMYKcmyk(20.1%, 28.6%, 0%, 8.2%)
CIE-LABlab(72.32, 20.65, -30.97)
CIE-LCHlch(72.32, 37.22, 303.69°)
OKLaboklab(76.94% 0.045 -0.0853)
OKLCHoklch(76.94% 0.096 297.8)
XYZxyz(49.1603, 44.1425, 83.7564)
Luminance0.4414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA7EA #D6EAA7
analogous
#A7B4EA #BBA7EA #DCA7EA
triadic
#BBA7EA #EABBA7 #A7EABB
tetradic
#BBA7EA #EAA7B4 #D6EAA7 #A7EADC
square
#BBA7EA #EAA7B4 #D6EAA7 #A7EADC
split-complementary
#BBA7EA #EADCA7 #B4EAA7
monochromatic
#6F44D2 #9576DE #BBA7EA #E1D8F6 #ECE6F9

Accessibility & contrast

On white

2.14
#BBA7EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#BBA7EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA7EA
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA7EA#FFFFFF#000000##000000
##BBA7EA1.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B1ED
Deuteranopia (green-blind)
#9BB1E8
Tritanopia (blue-blind)
#B2B1BF
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bba7ea;
/* rgb */ color: rgb(187, 167, 234);
/* oklch */ color: oklch(76.9% 0.096 297.8);
Tailwind
colors: {
  custom: {
    50: '#d0c1f1',
    500: '#bba7ea',
    950: '#000000',
  },
}
SCSS
$custom: #bba7ea;
$custom-light: #d0c1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bba7ea",
  "rgb": {
    "r": 187,
    "g": 167,
    "b": 234
  },
  "hsl": {
    "h": 257.91,
    "s": 61.468,
    "l": 78.627
  },
  "oklch": {
    "l": 0.7694,
    "c": 0.0964,
    "h": 297.8
  },
  "luminance": 0.44143
}

Semantic roles & 50–950 ramp

primary
#BBA7EA
secondary
#EAF0DB
accent
#C91C96
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #BBA7EA

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

Preview Lab → · Contrast checker → · Palette generator →

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