#BB7BE9#BB7BE9

#BB7BE9 is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.2% C 0.167 H 309.5°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#BB7BE9
RGBrgb(187, 123, 233)
HSLhsl(275, 71%, 70%)
HSVhsv(275, 47%, 91%)
CMYKcmyk(19.7%, 47.2%, 0%, 8.6%)
CIE-LABlab(62.18, 44.70, -46.24)
CIE-LCHlch(62.18, 64.32, 314.03°)
OKLaboklab(69.24% 0.1065 -0.129)
OKLCHoklch(69.24% 0.167 309.5)
XYZxyz(42.2817, 30.6145, 80.7568)
Luminance0.3061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7BE9 #A9E97B
analogous
#847BE9 #BB7BE9 #E97BE0
triadic
#BB7BE9 #E9BB7B #7BE9BB
tetradic
#BB7BE9 #E9847B #A9E97B #7BE0E9
square
#BB7BE9 #E9847B #A9E97B #7BE0E9
split-complementary
#BB7BE9 #E0E97B #7BE984
monochromatic
#8221C8 #A047E0 #BB7BE9 #D6AFF2 #F1E4FA

Accessibility & contrast

On white

2.95
#BB7BE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#BB7BE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7BE9
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7BE9#FFFFFF#000000##000000
##BB7BE91.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6093ED
Deuteranopia (green-blind)
#7297E6
Tritanopia (blue-blind)
#B58DA7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #bb7be9;
/* rgb */ color: rgb(187, 123, 233);
/* oklch */ color: oklch(69.2% 0.167 309.5);
Tailwind
colors: {
  custom: {
    50: '#d1a3f0',
    500: '#bb7be9',
    950: '#000000',
  },
}
SCSS
$custom: #bb7be9;
$custom-light: #d1a3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7be9",
  "rgb": {
    "r": 187,
    "g": 123,
    "b": 233
  },
  "hsl": {
    "h": 274.909,
    "s": 71.429,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69239,
    "c": 0.16727,
    "h": 309.5
  },
  "luminance": 0.30614
}

Semantic roles & 50–950 ramp

primary
#BB7BE9
secondary
#DDEFD0
accent
#D31263
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB7BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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