#BB7CEE#BB7CEE

#BB7CEE is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.7% C 0.171 H 308.1°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#BB7CEE
RGBrgb(187, 124, 238)
HSLhsl(273, 77%, 71%)
HSVhsv(273, 48%, 93%)
CMYKcmyk(21.4%, 47.9%, 0%, 6.7%)
CIE-LABlab(62.64, 45.27, -48.29)
CIE-LCHlch(62.64, 66.20, 313.15°)
OKLaboklab(69.66% 0.1057 -0.135)
OKLCHoklch(69.66% 0.171 308.1)
XYZxyz(43.1308, 31.1537, 84.6135)
Luminance0.3115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7CEE #AFEE7C
analogous
#827CEE #BB7CEE #EE7CE8
triadic
#BB7CEE #EEBB7C #7CEEBB
tetradic
#BB7CEE #EE827C #AFEE7C #7CE8EE
square
#BB7CEE #EE827C #AFEE7C #7CE8EE
split-complementary
#BB7CEE #E8EE7C #7CEE82
monochromatic
#821CD4 #9F46E7 #BB7CEE #D7B2F5 #F1E4FB

Accessibility & contrast

On white

2.90
#BB7CEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#BB7CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7CEE
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7CEE#FFFFFF#000000##000000
##BB7CEE1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E95F2
Deuteranopia (green-blind)
#7098EB
Tritanopia (blue-blind)
#B48FAA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bb7cee;
/* rgb */ color: rgb(187, 124, 238);
/* oklch */ color: oklch(69.7% 0.171 308.1);
Tailwind
colors: {
  custom: {
    50: '#d2a3f4',
    500: '#bb7cee',
    950: '#000000',
  },
}
SCSS
$custom: #bb7cee;
$custom-light: #d2a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7cee",
  "rgb": {
    "r": 187,
    "g": 124,
    "b": 238
  },
  "hsl": {
    "h": 273.158,
    "s": 77.027,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69659,
    "c": 0.17145,
    "h": 308.1
  },
  "luminance": 0.31153
}

Semantic roles & 50–950 ramp

primary
#BB7CEE
secondary
#E1F2D4
accent
#D90C68
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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