#BB7DEB#BB7DEB

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

Color values

HEX#BB7DEB
RGBrgb(187, 125, 235)
HSLhsl(274, 73%, 71%)
HSVhsv(274, 47%, 92%)
CMYKcmyk(20.4%, 46.8%, 0%, 7.8%)
CIE-LABlab(62.70, 44.07, -46.53)
CIE-LCHlch(62.70, 64.09, 313.44°)
OKLaboklab(69.66% 0.104 -0.1299)
OKLCHoklch(69.66% 0.166 308.7)
XYZxyz(42.8196, 31.2308, 82.3535)
Luminance0.3123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7DEB #ADEB7D
analogous
#847DEB #BB7DEB #EB7DE4
triadic
#BB7DEB #EBBB7D #7DEBBB
tetradic
#BB7DEB #EB847D #ADEB7D #7DE4EB
square
#BB7DEB #EB847D #ADEB7D #7DE4EB
split-complementary
#BB7DEB #E4EB7D #7DEB84
monochromatic
#8220CE #9F48E3 #BB7DEB #D7B2F3 #F1E4FB

Accessibility & contrast

On white

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

On black

7.25
#BB7DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7DEB
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7DEB#FFFFFF#000000##000000
##BB7DEB1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EF
Deuteranopia (green-blind)
#7299E8
Tritanopia (blue-blind)
#B58FA9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7deb;
/* rgb */ color: rgb(187, 125, 235);
/* oklch */ color: oklch(69.7% 0.166 308.7);
Tailwind
colors: {
  custom: {
    50: '#d1a4f2',
    500: '#bb7deb',
    950: '#000000',
  },
}
SCSS
$custom: #bb7deb;
$custom-light: #d1a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7deb",
  "rgb": {
    "r": 187,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 273.818,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69659,
    "c": 0.16636,
    "h": 308.7
  },
  "luminance": 0.3123
}

Semantic roles & 50–950 ramp

primary
#BB7DEB
secondary
#E0F1D3
accent
#D51066
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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