#BB7DF5#BB7DF5

#BB7DF5 is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.2% C 0.178 H 306.2°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#BB7DF5
RGBrgb(187, 125, 245)
HSLhsl(271, 86%, 73%)
HSVhsv(271, 49%, 96%)
CMYKcmyk(23.7%, 49%, 0%, 3.9%)
CIE-LABlab(63.20, 46.31, -51.27)
CIE-LCHlch(63.20, 69.09, 312.09°)
OKLaboklab(70.19% 0.1051 -0.1437)
OKLCHoklch(70.19% 0.178 306.2)
XYZxyz(44.3052, 31.8250, 90.1773)
Luminance0.3182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7DF5 #B7F57D
analogous
#7F7DF5 #BB7DF5 #F57DF3
triadic
#BB7DF5 #F5BB7D #7DF5BB
tetradic
#BB7DF5 #F57F7D #B7F57D #7DF3F5
square
#BB7DF5 #F57F7D #B7F57D #7DF3F5
split-complementary
#BB7DF5 #F3F57D #7DF57F
monochromatic
#7F12E6 #9D44F1 #BB7DF5 #D9B6F9 #F0E3FD

Accessibility & contrast

On white

2.85
#BB7DF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#BB7DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7DF5
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7DF5#FFFFFF#000000##000000
##BB7DF51.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B97F9
Deuteranopia (green-blind)
#6C99F2
Tritanopia (blue-blind)
#B292AE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bb7df5;
/* rgb */ color: rgb(187, 125, 245);
/* oklch */ color: oklch(70.2% 0.178 306.2);
Tailwind
colors: {
  custom: {
    50: '#d2a4f9',
    500: '#bb7df5',
    950: '#000000',
  },
}
SCSS
$custom: #bb7df5;
$custom-light: #d2a4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7df5",
  "rgb": {
    "r": 187,
    "g": 125,
    "b": 245
  },
  "hsl": {
    "h": 271,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7019,
    "c": 0.17802,
    "h": 306.2
  },
  "luminance": 0.31825
}

Semantic roles & 50–950 ramp

primary
#BB7DF5
secondary
#E5F5D6
accent
#E2036F
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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