#BB7DEC#BB7DEC

#BB7DEC is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.7% C 0.168 H 308.4°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#BB7DEC
RGBrgb(187, 125, 236)
HSLhsl(274, 74%, 71%)
HSVhsv(274, 47%, 93%)
CMYKcmyk(20.8%, 47%, 0%, 7.5%)
CIE-LABlab(62.75, 44.29, -47.01)
CIE-LCHlch(62.75, 64.59, 313.29°)
OKLaboklab(69.71% 0.1041 -0.1312)
OKLCHoklch(69.71% 0.168 308.4)
XYZxyz(42.9645, 31.2887, 83.1166)
Luminance0.3129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7DEC #AEEC7D
analogous
#837DEC #BB7DEC #EC7DE5
triadic
#BB7DEC #ECBB7D #7DECBB
tetradic
#BB7DEC #EC837D #AEEC7D #7DE5EC
square
#BB7DEC #EC837D #AEEC7D #7DE5EC
split-complementary
#BB7DEC #E5EC7D #7DEC83
monochromatic
#821ED0 #9F48E4 #BB7DEC #D7B2F4 #F1E4FB

Accessibility & contrast

On white

2.89
#BB7DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#BB7DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7DEC
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7DEC#FFFFFF#000000##000000
##BB7DEC1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195F0
Deuteranopia (green-blind)
#7299E9
Tritanopia (blue-blind)
#B48FA9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7dec;
/* rgb */ color: rgb(187, 125, 236);
/* oklch */ color: oklch(69.7% 0.168 308.4);
Tailwind
colors: {
  custom: {
    50: '#d1a4f2',
    500: '#bb7dec',
    950: '#000000',
  },
}
SCSS
$custom: #bb7dec;
$custom-light: #d1a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7dec",
  "rgb": {
    "r": 187,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 273.514,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69711,
    "c": 0.16753,
    "h": 308.4
  },
  "luminance": 0.31288
}

Semantic roles & 50–950 ramp

primary
#BB7DEC
secondary
#E1F1D3
accent
#D70F67
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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