#BB7BEB#BB7BEB

#BB7BEB is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.3% C 0.170 H 309.0°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#BB7BEB
RGBrgb(187, 123, 235)
HSLhsl(274, 74%, 70%)
HSVhsv(274, 48%, 92%)
CMYKcmyk(20.4%, 47.7%, 0%, 7.8%)
CIE-LABlab(62.28, 45.14, -47.20)
CIE-LCHlch(62.28, 65.31, 313.72°)
OKLaboklab(69.34% 0.1067 -0.1318)
OKLCHoklch(69.34% 0.17 309)
XYZxyz(42.5690, 30.7295, 82.2700)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7BEB #ABEB7B
analogous
#837BEB #BB7BEB #EB7BE3
triadic
#BB7BEB #EBBB7B #7BEBBB
tetradic
#BB7BEB #EB837B #ABEB7B #7BE3EB
square
#BB7BEB #EB837B #ABEB7B #7BE3EB
split-complementary
#BB7BEB #E3EB7B #7BEB83
monochromatic
#821FCD #A046E3 #BB7BEB #D6B0F3 #F1E4FB

Accessibility & contrast

On white

2.94
#BB7BEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#BB7BEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7BEB
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7BEB#FFFFFF#000000##000000
##BB7BEB1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94EF
Deuteranopia (green-blind)
#7198E8
Tritanopia (blue-blind)
#B58DA8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bb7beb;
/* rgb */ color: rgb(187, 123, 235);
/* oklch */ color: oklch(69.3% 0.170 309.0);
Tailwind
colors: {
  custom: {
    50: '#d2a3f2',
    500: '#bb7beb',
    950: '#000000',
  },
}
SCSS
$custom: #bb7beb;
$custom-light: #d2a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7beb",
  "rgb": {
    "r": 187,
    "g": 123,
    "b": 235
  },
  "hsl": {
    "h": 274.286,
    "s": 73.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69344,
    "c": 0.16957,
    "h": 309
  },
  "luminance": 0.30729
}

Semantic roles & 50–950 ramp

primary
#BB7BEB
secondary
#DFF0D1
accent
#D61065
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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