#BB7DF4#BB7DF4

#BB7DF4 is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.1% C 0.177 H 306.4°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#BB7DF4
RGBrgb(187, 125, 244)
HSLhsl(271, 84%, 72%)
HSVhsv(271, 49%, 96%)
CMYKcmyk(23.4%, 48.8%, 0%, 4.3%)
CIE-LABlab(63.15, 46.08, -50.80)
CIE-LCHlch(63.15, 68.59, 312.21°)
OKLaboklab(70.14% 0.105 -0.1423)
OKLCHoklch(70.14% 0.177 306.4)
XYZxyz(44.1529, 31.7641, 89.3755)
Luminance0.3176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7DF4 #B6F47D
analogous
#807DF4 #BB7DF4 #F47DF1
triadic
#BB7DF4 #F4BB7D #7DF4BB
tetradic
#BB7DF4 #F4807D #B6F47D #7DF1F4
square
#BB7DF4 #F4807D #B6F47D #7DF1F4
split-complementary
#BB7DF4 #F1F47D #7DF480
monochromatic
#8013E3 #9D45EF #BB7DF4 #D9B5F9 #F0E3FD

Accessibility & contrast

On white

2.86
#BB7DF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#BB7DF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7DF4
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7DF4#FFFFFF#000000##000000
##BB7DF41.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C97F8
Deuteranopia (green-blind)
#6D99F1
Tritanopia (blue-blind)
#B292AD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bb7df4;
/* rgb */ color: rgb(187, 125, 244);
/* oklch */ color: oklch(70.1% 0.177 306.4);
Tailwind
colors: {
  custom: {
    50: '#d2a4f8',
    500: '#bb7df4',
    950: '#000000',
  },
}
SCSS
$custom: #bb7df4;
$custom-light: #d2a4f8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7df4",
  "rgb": {
    "r": 187,
    "g": 125,
    "b": 244
  },
  "hsl": {
    "h": 271.261,
    "s": 84.397,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70136,
    "c": 0.17685,
    "h": 306.4
  },
  "luminance": 0.31764
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB7DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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