#BB9AF8#BB9AF8

#BB9AF8 is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.2% C 0.136 H 299.3°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#BB9AF8
RGBrgb(187, 154, 248)
HSLhsl(261, 87%, 79%)
HSVhsv(261, 38%, 97%)
CMYKcmyk(24.6%, 37.9%, 0%, 2.7%)
CIE-LABlab(69.79, 31.10, -42.53)
CIE-LCHlch(69.79, 52.69, 306.17°)
OKLaboklab(75.19% 0.0664 -0.1184)
OKLCHoklch(75.19% 0.136 299.3)
XYZxyz(48.9886, 40.4530, 94.0161)
Luminance0.4045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9AF8 #D7F89A
analogous
#9AA8F8 #BB9AF8 #EA9AF8
triadic
#BB9AF8 #F8BB9A #9AF8BB
tetradic
#BB9AF8 #F89AA8 #D7F89A #9AF8EA
square
#BB9AF8 #F89AA8 #D7F89A #9AF8EA
split-complementary
#BB9AF8 #F8EA9A #A8F89A
monochromatic
#6E28F0 #9461F4 #BB9AF8 #E2D3FC #ECE2FD

Accessibility & contrast

On white

2.31
#BB9AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#BB9AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9AF8
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9AF8#FFFFFF#000000##000000
##BB9AF81.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#82AAFC
Deuteranopia (green-blind)
#88AAF6
Tritanopia (blue-blind)
#AFAABD
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bb9af8;
/* rgb */ color: rgb(187, 154, 248);
/* oklch */ color: oklch(75.2% 0.136 299.3);
Tailwind
colors: {
  custom: {
    50: '#d1b8fb',
    500: '#bb9af8',
    950: '#000000',
  },
}
SCSS
$custom: #bb9af8;
$custom-light: #d1b8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9af8",
  "rgb": {
    "r": 187,
    "g": 154,
    "b": 248
  },
  "hsl": {
    "h": 261.064,
    "s": 87.037,
    "l": 78.824
  },
  "oklch": {
    "l": 0.75193,
    "c": 0.13573,
    "h": 299.3
  },
  "luminance": 0.40453
}

Semantic roles & 50–950 ramp

primary
#BB9AF8
secondary
#EAF5D6
accent
#E40294
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BB9AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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