#BB8EEF#BB8EEF

#BB8EEF is a light, vivid violet. Relative luminance 0.361; OKLCH L 72.7% C 0.144 H 304.4°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#BB8EEF
RGBrgb(187, 142, 239)
HSLhsl(268, 75%, 75%)
HSVhsv(268, 41%, 94%)
CMYKcmyk(21.8%, 40.6%, 0%, 6.3%)
CIE-LABlab(66.63, 35.67, -42.56)
CIE-LCHlch(66.63, 55.53, 309.97°)
OKLaboklab(72.67% 0.0812 -0.1184)
OKLCHoklch(72.67% 0.144 304.4)
XYZxyz(45.7433, 36.1430, 86.2111)
Luminance0.3614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8EEF #C2EF8E
analogous
#8E92EF #BB8EEF #EC8EEF
triadic
#BB8EEF #EFBB8E #8EEFBB
tetradic
#BB8EEF #EF8E92 #C2EF8E #8EEFEC
square
#BB8EEF #EF8E92 #C2EF8E #8EEFEC
split-complementary
#BB8EEF #EFEC8E #92EF8E
monochromatic
#7A23E0 #9B58E7 #BB8EEF #DBC4F7 #EFE4FB

Accessibility & contrast

On white

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

On black

8.23
#BB8EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8EEF
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8EEF#FFFFFF#000000##000000
##BB8EEF1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A1F3
Deuteranopia (green-blind)
#81A2EC
Tritanopia (blue-blind)
#B39EB3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bb8eef;
/* rgb */ color: rgb(187, 142, 239);
/* oklch */ color: oklch(72.7% 0.144 304.4);
Tailwind
colors: {
  custom: {
    50: '#d1aff4',
    500: '#bb8eef',
    950: '#000000',
  },
}
SCSS
$custom: #bb8eef;
$custom-light: #d1aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8eef",
  "rgb": {
    "r": 187,
    "g": 142,
    "b": 239
  },
  "hsl": {
    "h": 267.835,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72668,
    "c": 0.14359,
    "h": 304.4
  },
  "luminance": 0.36143
}

Semantic roles & 50–950 ramp

primary
#BB8EEF
secondary
#E6F3D8
accent
#D70E7A
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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