#BB7BEC#BB7BEC

#BB7BEC is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.4% C 0.171 H 308.7°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#BB7BEC
RGBrgb(187, 123, 236)
HSLhsl(274, 75%, 70%)
HSVhsv(274, 48%, 93%)
CMYKcmyk(20.8%, 47.9%, 0%, 7.5%)
CIE-LABlab(62.33, 45.36, -47.68)
CIE-LCHlch(62.33, 65.81, 313.58°)
OKLaboklab(69.4% 0.1068 -0.1332)
OKLCHoklch(69.4% 0.171 308.7)
XYZxyz(42.7139, 30.7874, 83.0330)
Luminance0.3079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7BEC #ACEC7B
analogous
#827BEC #BB7BEC #EC7BE5
triadic
#BB7BEC #ECBB7B #7BECBB
tetradic
#BB7BEC #EC827B #ACEC7B #7BE5EC
square
#BB7BEC #EC827B #ACEC7B #7BE5EC
split-complementary
#BB7BEC #E5EC7B #7BEC82
monochromatic
#821ECF #9F46E4 #BB7BEC #D7B0F4 #F1E4FB

Accessibility & contrast

On white

2.93
#BB7BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#BB7BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7BEC
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7BEC#FFFFFF#000000##000000
##BB7BEC1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E94F0
Deuteranopia (green-blind)
#7098E9
Tritanopia (blue-blind)
#B48EA9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bb7bec;
/* rgb */ color: rgb(187, 123, 236);
/* oklch */ color: oklch(69.4% 0.171 308.7);
Tailwind
colors: {
  custom: {
    50: '#d2a3f2',
    500: '#bb7bec',
    950: '#000000',
  },
}
SCSS
$custom: #bb7bec;
$custom-light: #d2a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7bec",
  "rgb": {
    "r": 187,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 273.982,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69396,
    "c": 0.17073,
    "h": 308.7
  },
  "luminance": 0.30787
}

Semantic roles & 50–950 ramp

primary
#BB7BEC
secondary
#DFF1D2
accent
#D70F65
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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