#BB9EFD#BB9EFD

#BB9EFD is a light, vivid violet. Relative luminance 0.421; OKLCH L 76.1% C 0.136 H 297.1°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#BB9EFD
RGBrgb(187, 158, 253)
HSLhsl(258, 96%, 81%)
HSVhsv(258, 38%, 99%)
CMYKcmyk(26.1%, 37.5%, 0%, 0.8%)
CIE-LABlab(70.95, 30.05, -43.44)
CIE-LCHlch(70.95, 52.82, 304.68°)
OKLaboklab(76.14% 0.062 -0.121)
OKLCHoklch(76.14% 0.136 297.1)
XYZxyz(50.4458, 42.1099, 98.3798)
Luminance0.4211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EFD #E0FD9E
analogous
#9EB0FD #BB9EFD #EB9EFD
triadic
#BB9EFD #FDBB9E #9EFDBB
tetradic
#BB9EFD #FD9EB0 #E0FD9E #9EFDEB
square
#BB9EFD #FD9EB0 #E0FD9E #9EFDEB
split-complementary
#BB9EFD #FDEB9E #B0FD9E
monochromatic
#6726FB #9162FC #BB9EFD #E5DAFE #EAE1FE

Accessibility & contrast

On white

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

On black

9.42
#BB9EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9EFD
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9EFD#FFFFFF#000000##000000
##BB9EFD1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AEFF
Deuteranopia (green-blind)
#8AADFB
Tritanopia (blue-blind)
#AEAEC2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bb9efd;
/* rgb */ color: rgb(187, 158, 253);
/* oklch */ color: oklch(76.1% 0.136 297.1);
Tailwind
colors: {
  custom: {
    50: '#d1bbfe',
    500: '#bb9efd',
    950: '#000000',
  },
}
SCSS
$custom: #bb9efd;
$custom-light: #d1bbfe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9efd",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 253
  },
  "hsl": {
    "h": 258.316,
    "s": 95.96,
    "l": 80.588
  },
  "oklch": {
    "l": 0.76143,
    "c": 0.13596,
    "h": 297.1
  },
  "luminance": 0.4211
}

Semantic roles & 50–950 ramp

primary
#BB9EFD
secondary
#ECF7D4
accent
#E6009F
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BB9EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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