#BB9EFC#BB9EFC

#BB9EFC is a light, vivid violet. Relative luminance 0.420; OKLCH L 76.1% C 0.135 H 297.3°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#BB9EFC
RGBrgb(187, 158, 252)
HSLhsl(259, 94%, 80%)
HSVhsv(259, 37%, 99%)
CMYKcmyk(25.8%, 37.3%, 0%, 1.2%)
CIE-LABlab(70.90, 29.82, -42.97)
CIE-LCHlch(70.90, 52.30, 304.76°)
OKLaboklab(76.1% 0.0618 -0.1196)
OKLCHoklch(76.1% 0.135 297.3)
XYZxyz(50.2870, 42.0463, 97.5430)
Luminance0.4205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EFC #DFFC9E
analogous
#9EB0FC #BB9EFC #EA9EFC
triadic
#BB9EFC #FCBB9E #9EFCBB
tetradic
#BB9EFC #FC9EB0 #DFFC9E #9EFCEA
square
#BB9EFC #FC9EB0 #DFFC9E #9EFCEA
split-complementary
#BB9EFC #FCEA9E #B0FC9E
monochromatic
#6827F8 #9163FA #BB9EFC #E5D9FE #EAE1FE

Accessibility & contrast

On white

2.23
#BB9EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#BB9EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9EFC
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9EFC#FFFFFF#000000##000000
##BB9EFC1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AEFF
Deuteranopia (green-blind)
#8AADFA
Tritanopia (blue-blind)
#AEAEC1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bb9efc;
/* rgb */ color: rgb(187, 158, 252);
/* oklch */ color: oklch(76.1% 0.135 297.3);
Tailwind
colors: {
  custom: {
    50: '#d1bbfd',
    500: '#bb9efc',
    950: '#000000',
  },
}
SCSS
$custom: #bb9efc;
$custom-light: #d1bbfd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9efc",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 252
  },
  "hsl": {
    "h": 258.511,
    "s": 94,
    "l": 80.392
  },
  "oklch": {
    "l": 0.76096,
    "c": 0.13464,
    "h": 297.3
  },
  "luminance": 0.42047
}

Semantic roles & 50–950 ramp

primary
#BB9EFC
secondary
#ECF6D5
accent
#E6009F
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BB9EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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