#BB7DEE#BB7DEE

#BB7DEE is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.8% C 0.170 H 307.9°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#BB7DEE
RGBrgb(187, 125, 238)
HSLhsl(273, 77%, 71%)
HSVhsv(273, 47%, 93%)
CMYKcmyk(21.4%, 47.5%, 0%, 6.7%)
CIE-LABlab(62.85, 44.73, -47.96)
CIE-LCHlch(62.85, 65.58, 313.01°)
OKLaboklab(69.82% 0.1044 -0.134)
OKLCHoklch(69.82% 0.17 307.9)
XYZxyz(43.2567, 31.4056, 84.6554)
Luminance0.3140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7DEE #B0EE7D
analogous
#827DEE #BB7DEE #EE7DE9
triadic
#BB7DEE #EEBB7D #7DEEBB
tetradic
#BB7DEE #EE827D #B0EE7D #7DE9EE
square
#BB7DEE #EE827D #B0EE7D #7DE9EE
split-complementary
#BB7DEE #E9EE7D #7DEE82
monochromatic
#811CD5 #9F47E7 #BB7DEE #D7B3F5 #F1E4FB

Accessibility & contrast

On white

2.88
#BB7DEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#BB7DEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7DEE
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7DEE#FFFFFF#000000##000000
##BB7DEE1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F2
Deuteranopia (green-blind)
#7199EB
Tritanopia (blue-blind)
#B490AA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7dee;
/* rgb */ color: rgb(187, 125, 238);
/* oklch */ color: oklch(69.8% 0.170 307.9);
Tailwind
colors: {
  custom: {
    50: '#d2a4f4',
    500: '#bb7dee',
    950: '#000000',
  },
}
SCSS
$custom: #bb7dee;
$custom-light: #d2a4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7dee",
  "rgb": {
    "r": 187,
    "g": 125,
    "b": 238
  },
  "hsl": {
    "h": 272.92,
    "s": 76.871,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69816,
    "c": 0.16985,
    "h": 307.9
  },
  "luminance": 0.31405
}

Semantic roles & 50–950 ramp

primary
#BB7DEE
secondary
#E2F2D5
accent
#D90C69
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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