#BB8FEB#BB8FEB

#BB8FEB is a light, vivid violet. Relative luminance 0.362; OKLCH L 72.6% C 0.137 H 305.3°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#BB8FEB
RGBrgb(187, 143, 235)
HSLhsl(269, 70%, 74%)
HSVhsv(269, 39%, 92%)
CMYKcmyk(20.4%, 39.1%, 0%, 7.8%)
CIE-LABlab(66.68, 34.21, -40.28)
CIE-LCHlch(66.68, 52.85, 310.34°)
OKLaboklab(72.65% 0.0791 -0.1118)
OKLCHoklch(72.65% 0.137 305.3)
XYZxyz(45.3083, 36.2081, 83.1831)
Luminance0.3621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8FEB #BFEB8F
analogous
#8F91EB #BB8FEB #E98FEB
triadic
#BB8FEB #EBBB8F #8FEBBB
tetradic
#BB8FEB #EB8F91 #BFEB8F #8FEBE9
square
#BB8FEB #EB8F91 #BFEB8F #8FEBE9
split-complementary
#BB8FEB #EBE98F #91EB8F
monochromatic
#7C27D8 #9B5BE2 #BB8FEB #DBC3F4 #EFE5FA

Accessibility & contrast

On white

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

On black

8.24
#BB8FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8FEB
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8FEB#FFFFFF#000000##000000
##BB8FEB1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA1EE
Deuteranopia (green-blind)
#84A2E8
Tritanopia (blue-blind)
#B49DB2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bb8feb;
/* rgb */ color: rgb(187, 143, 235);
/* oklch */ color: oklch(72.6% 0.137 305.3);
Tailwind
colors: {
  custom: {
    50: '#d1b0f2',
    500: '#bb8feb',
    950: '#000000',
  },
}
SCSS
$custom: #bb8feb;
$custom-light: #d1b0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8feb",
  "rgb": {
    "r": 187,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 268.696,
    "s": 69.697,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72647,
    "c": 0.13697,
    "h": 305.3
  },
  "luminance": 0.36208
}

Semantic roles & 50–950 ramp

primary
#BB8FEB
secondary
#E6F2D9
accent
#D21477
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#141017
muted
#827F85

Preview Lab

Preview with #BB8FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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