#BB9CFE#BB9CFE

#BB9CFE is a light, vivid violet. Relative luminance 0.415; OKLCH L 75.8% C 0.140 H 297.5°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#BB9CFE
RGBrgb(187, 156, 254)
HSLhsl(259, 98%, 80%)
HSVhsv(259, 39%, 100%)
CMYKcmyk(26.4%, 38.6%, 0%, 0.4%)
CIE-LABlab(70.52, 31.40, -44.65)
CIE-LCHlch(70.52, 54.59, 305.12°)
OKLaboklab(75.84% 0.0649 -0.1245)
OKLCHoklch(75.84% 0.14 297.5)
XYZxyz(50.2672, 41.4970, 99.1082)
Luminance0.4150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9CFE #DFFE9C
analogous
#9CAEFE #BB9CFE #EC9CFE
triadic
#BB9CFE #FEBB9C #9CFEBB
tetradic
#BB9CFE #FE9CAE #DFFE9C #9CFEEC
square
#BB9CFE #FE9CAE #DFFE9C #9CFEEC
split-complementary
#BB9CFE #FEEC9C #AEFE9C
monochromatic
#6823FD #915FFD #BB9CFE #E5D9FF #EAE1FF

Accessibility & contrast

On white

2.26
#BB9CFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#BB9CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9CFE
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9CFE#FFFFFF#000000##000000
##BB9CFE1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ADFF
Deuteranopia (green-blind)
#87ABFB
Tritanopia (blue-blind)
#AEADC1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bb9cfe;
/* rgb */ color: rgb(187, 156, 254);
/* oklch */ color: oklch(75.8% 0.140 297.5);
Tailwind
colors: {
  custom: {
    50: '#d1b9ff',
    500: '#bb9cfe',
    950: '#000000',
  },
}
SCSS
$custom: #bb9cfe;
$custom-light: #d1b9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9cfe",
  "rgb": {
    "r": 187,
    "g": 156,
    "b": 254
  },
  "hsl": {
    "h": 258.98,
    "s": 98,
    "l": 80.392
  },
  "oklch": {
    "l": 0.75836,
    "c": 0.14038,
    "h": 297.5
  },
  "luminance": 0.41497
}

Semantic roles & 50–950 ramp

primary
#BB9CFE
secondary
#ECF7D4
accent
#E6009D
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BB9CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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