#BB7BEE#BB7BEE

#BB7BEE is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.5% C 0.173 H 308.2°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#BB7BEE
RGBrgb(187, 123, 238)
HSLhsl(273, 77%, 71%)
HSVhsv(273, 48%, 93%)
CMYKcmyk(21.4%, 48.3%, 0%, 6.7%)
CIE-LABlab(62.43, 45.81, -48.63)
CIE-LCHlch(62.43, 66.81, 313.29°)
OKLaboklab(69.5% 0.1071 -0.1359)
OKLCHoklch(69.5% 0.173 308.2)
XYZxyz(43.0061, 30.9043, 84.5719)
Luminance0.3090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7BEE #AEEE7B
analogous
#817BEE #BB7BEE #EE7BE8
triadic
#BB7BEE #EEBB7B #7BEEBB
tetradic
#BB7BEE #EE817B #AEEE7B #7BE8EE
square
#BB7BEE #EE817B #AEEE7B #7BE8EE
split-complementary
#BB7BEE #E8EE7B #7BEE81
monochromatic
#821BD3 #9F45E7 #BB7BEE #D7B1F5 #F1E4FC

Accessibility & contrast

On white

2.92
#BB7BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#BB7BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7BEE
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7BEE#FFFFFF#000000##000000
##BB7BEE1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D94F2
Deuteranopia (green-blind)
#6F98EB
Tritanopia (blue-blind)
#B48EA9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bb7bee;
/* rgb */ color: rgb(187, 123, 238);
/* oklch */ color: oklch(69.5% 0.173 308.2);
Tailwind
colors: {
  custom: {
    50: '#d2a3f4',
    500: '#bb7bee',
    950: '#000000',
  },
}
SCSS
$custom: #bb7bee;
$custom-light: #d2a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7bee",
  "rgb": {
    "r": 187,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 273.391,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69502,
    "c": 0.17304,
    "h": 308.2
  },
  "luminance": 0.30904
}

Semantic roles & 50–950 ramp

primary
#BB7BEE
secondary
#E1F2D3
accent
#D90C67
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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