#BB9CFB#BB9CFB

#BB9CFB is a light, vivid violet. Relative luminance 0.413; OKLCH L 75.7% C 0.136 H 298.1°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#BB9CFB
RGBrgb(187, 156, 251)
HSLhsl(260, 92%, 80%)
HSVhsv(260, 38%, 98%)
CMYKcmyk(25.5%, 37.8%, 0%, 1.6%)
CIE-LABlab(70.39, 30.69, -43.23)
CIE-LCHlch(70.39, 53.02, 305.37°)
OKLaboklab(75.69% 0.0643 -0.1204)
OKLCHoklch(75.69% 0.136 298.1)
XYZxyz(49.7905, 41.3064, 96.5979)
Luminance0.4131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9CFB #DCFB9C
analogous
#9CADFB #BB9CFB #EB9CFB
triadic
#BB9CFB #FBBB9C #9CFBBB
tetradic
#BB9CFB #FB9CAD #DCFB9C #9CFBEB
square
#BB9CFB #FB9CAD #DCFB9C #9CFBEB
split-complementary
#BB9CFB #FBEB9C #ADFB9C
monochromatic
#6A26F6 #9361F9 #BB9CFB #E3D7FD #EBE2FE

Accessibility & contrast

On white

2.27
#BB9CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#BB9CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9CFB
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9CFB#FFFFFF#000000##000000
##BB9CFB1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ACFF
Deuteranopia (green-blind)
#89ABF9
Tritanopia (blue-blind)
#AEACC0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bb9cfb;
/* rgb */ color: rgb(187, 156, 251);
/* oklch */ color: oklch(75.7% 0.136 298.1);
Tailwind
colors: {
  custom: {
    50: '#d1b9fd',
    500: '#bb9cfb',
    950: '#000000',
  },
}
SCSS
$custom: #bb9cfb;
$custom-light: #d1b9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9cfb",
  "rgb": {
    "r": 187,
    "g": 156,
    "b": 251
  },
  "hsl": {
    "h": 259.579,
    "s": 92.233,
    "l": 79.804
  },
  "oklch": {
    "l": 0.75692,
    "c": 0.13647,
    "h": 298.1
  },
  "luminance": 0.41307
}

Semantic roles & 50–950 ramp

primary
#BB9CFB
secondary
#EBF6D5
accent
#E6009B
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BB9CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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