#BB9FFC#BB9FFC

#BB9FFC is a light, vivid violet. Relative luminance 0.424; OKLCH L 76.3% C 0.133 H 297.0°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#BB9FFC
RGBrgb(187, 159, 252)
HSLhsl(258, 94%, 81%)
HSVhsv(258, 37%, 99%)
CMYKcmyk(25.8%, 36.9%, 0%, 1.2%)
CIE-LABlab(71.14, 29.26, -42.60)
CIE-LCHlch(71.14, 51.68, 304.48°)
OKLaboklab(76.28% 0.0604 -0.1186)
OKLCHoklch(76.28% 0.133 297)
XYZxyz(50.4582, 42.3889, 97.6001)
Luminance0.4239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9FFC #E0FC9F
analogous
#9FB1FC #BB9FFC #EA9FFC
triadic
#BB9FFC #FCBB9F #9FFCBB
tetradic
#BB9FFC #FC9FB1 #E0FC9F #9FFCEA
square
#BB9FFC #FC9FB1 #E0FC9F #9FFCEA
split-complementary
#BB9FFC #FCEA9F #B1FC9F
monochromatic
#6728F8 #9164FA #BB9FFC #E5DAFE #EAE1FE

Accessibility & contrast

On white

2.22
#BB9FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#BB9FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9FFC
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9FFC#FFFFFF#000000##000000
##BB9FFC1.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AFFF
Deuteranopia (green-blind)
#8BADFA
Tritanopia (blue-blind)
#AEAFC2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bb9ffc;
/* rgb */ color: rgb(187, 159, 252);
/* oklch */ color: oklch(76.3% 0.133 297.0);
Tailwind
colors: {
  custom: {
    50: '#d1bbfd',
    500: '#bb9ffc',
    950: '#000000',
  },
}
SCSS
$custom: #bb9ffc;
$custom-light: #d1bbfd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9ffc",
  "rgb": {
    "r": 187,
    "g": 159,
    "b": 252
  },
  "hsl": {
    "h": 258.065,
    "s": 93.939,
    "l": 80.588
  },
  "oklch": {
    "l": 0.76275,
    "c": 0.13309,
    "h": 297
  },
  "luminance": 0.42389
}

Semantic roles & 50–950 ramp

primary
#BB9FFC
secondary
#ECF6D5
accent
#E600A0
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141218
muted
#838186

Preview Lab

Preview with #BB9FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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