#BB8CF8#BB8CF8

#BB8CF8 is a light, vivid violet. Relative luminance 0.361; OKLCH L 72.8% C 0.158 H 302.7°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#BB8CF8
RGBrgb(187, 140, 248)
HSLhsl(266, 89%, 76%)
HSVhsv(266, 44%, 97%)
CMYKcmyk(24.6%, 43.5%, 0%, 2.7%)
CIE-LABlab(66.59, 38.84, -47.55)
CIE-LCHlch(66.59, 61.40, 309.25°)
OKLaboklab(72.78% 0.0855 -0.1329)
OKLCHoklch(72.78% 0.158 302.7)
XYZxyz(46.8112, 36.0983, 93.2903)
Luminance0.3610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8CF8 #C9F88C
analogous
#8C93F8 #BB8CF8 #F18CF8
triadic
#BB8CF8 #F8BB8C #8CF8BB
tetradic
#BB8CF8 #F88C93 #C9F88C #8CF8F1
square
#BB8CF8 #F88C93 #C9F88C #8CF8F1
split-complementary
#BB8CF8 #F8F18C #93F88C
monochromatic
#7719F1 #9952F4 #BB8CF8 #DDC6FC #EEE2FD

Accessibility & contrast

On white

2.55
#BB8CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#BB8CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8CF8
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8CF8#FFFFFF#000000##000000
##BB8CF81.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA1FC
Deuteranopia (green-blind)
#7AA2F5
Tritanopia (blue-blind)
#B09EB6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bb8cf8;
/* rgb */ color: rgb(187, 140, 248);
/* oklch */ color: oklch(72.8% 0.158 302.7);
Tailwind
colors: {
  custom: {
    50: '#d1aefb',
    500: '#bb8cf8',
    950: '#000000',
  },
}
SCSS
$custom: #bb8cf8;
$custom-light: #d1aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8cf8",
  "rgb": {
    "r": 187,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 266.111,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72778,
    "c": 0.15799,
    "h": 302.7
  },
  "luminance": 0.36098
}

Semantic roles & 50–950 ramp

primary
#BB8CF8
secondary
#E8F5D6
accent
#E50082
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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