#BBAFEF#BBAFEF

#BBAFEF is a light, moderate violet. Relative luminance 0.475; OKLCH L 78.7% C 0.091 H 292.8°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#BBAFEF
RGBrgb(187, 175, 239)
HSLhsl(251, 67%, 81%)
HSVhsv(251, 27%, 94%)
CMYKcmyk(21.8%, 26.8%, 0%, 6.3%)
CIE-LABlab(74.48, 17.36, -30.36)
CIE-LCHlch(74.48, 34.97, 299.75°)
OKLaboklab(78.66% 0.0351 -0.0836)
OKLCHoklch(78.66% 0.091 292.8)
XYZxyz(51.3999, 47.4562, 88.0966)
Luminance0.4746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAFEF #E3EFAF
analogous
#AFC3EF #BBAFEF #DBAFEF
triadic
#BBAFEF #EFBBAF #AFEFBB
tetradic
#BBAFEF #EFAFC3 #E3EFAF #AFEFDB
square
#BBAFEF #EFAFC3 #E3EFAF #AFEFDB
split-complementary
#BBAFEF #EFDBAF #C3EFAF
monochromatic
#6449DB #907CE5 #BBAFEF #E6E2F9 #E9E5FA

Accessibility & contrast

On white

2.00
#BBAFEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#BBAFEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAFEF
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAFEF#FFFFFF#000000##000000
##BBAFEF1.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0B8F2
Deuteranopia (green-blind)
#A1B6ED
Tritanopia (blue-blind)
#B0B9C5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #bbafef;
/* rgb */ color: rgb(187, 175, 239);
/* oklch */ color: oklch(78.7% 0.091 292.8);
Tailwind
colors: {
  custom: {
    50: '#d0c6f4',
    500: '#bbafef',
    950: '#000000',
  },
}
SCSS
$custom: #bbafef;
$custom-light: #d0c6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bbafef",
  "rgb": {
    "r": 187,
    "g": 175,
    "b": 239
  },
  "hsl": {
    "h": 251.25,
    "s": 66.667,
    "l": 81.176
  },
  "oklch": {
    "l": 0.78664,
    "c": 0.09067,
    "h": 292.8
  },
  "luminance": 0.47457
}

Semantic roles & 50–950 ramp

primary
#BBAFEF
secondary
#EDF1DA
accent
#CF17AC
background
#FCFCFE
surface
#F9F8FD
border
#D2D1D5
text
#141317
muted
#828285

Preview Lab

Preview with #BBAFEF

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

Preview Lab → · Contrast checker → · Palette generator →

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