#BB7BED#BB7BED

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

Color values

HEX#BB7BED
RGBrgb(187, 123, 237)
HSLhsl(274, 76%, 71%)
HSVhsv(274, 48%, 93%)
CMYKcmyk(21.1%, 48.1%, 0%, 7.1%)
CIE-LABlab(62.38, 45.59, -48.15)
CIE-LCHlch(62.38, 66.31, 313.43°)
OKLaboklab(69.45% 0.1069 -0.1346)
OKLCHoklch(69.45% 0.172 308.5)
XYZxyz(42.8596, 30.8457, 83.8003)
Luminance0.3085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7BED #ADED7B
analogous
#827BED #BB7BED #ED7BE6
triadic
#BB7BED #EDBB7B #7BEDBB
tetradic
#BB7BED #ED827B #ADED7B #7BE6ED
square
#BB7BED #ED827B #ADED7B #7BE6ED
split-complementary
#BB7BED #E6ED7B #7BED82
monochromatic
#821DD1 #9F45E6 #BB7BED #D7B1F4 #F1E4FB

Accessibility & contrast

On white

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

On black

7.17
#BB7BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7BED
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7BED#FFFFFF#000000##000000
##BB7BED1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb7bed;
/* rgb */ color: rgb(187, 123, 237);
/* oklch */ color: oklch(69.4% 0.172 308.5);
Tailwind
colors: {
  custom: {
    50: '#d2a3f3',
    500: '#bb7bed',
    950: '#000000',
  },
}
SCSS
$custom: #bb7bed;
$custom-light: #d2a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7bed",
  "rgb": {
    "r": 187,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 273.684,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69449,
    "c": 0.17188,
    "h": 308.5
  },
  "luminance": 0.30845
}

Semantic roles & 50–950 ramp

primary
#BB7BED
secondary
#E0F1D2
accent
#D80D66
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7BED

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

Preview Lab → · Contrast checker → · Palette generator →

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