#BB7DFC#BB7DFC

#BB7DFC is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.6% C 0.186 H 304.6°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#BB7DFC
RGBrgb(187, 125, 252)
HSLhsl(269, 95%, 74%)
HSVhsv(269, 50%, 99%)
CMYKcmyk(25.8%, 50.4%, 0%, 1.2%)
CIE-LABlab(63.56, 47.91, -54.55)
CIE-LCHlch(63.56, 72.60, 311.29°)
OKLaboklab(70.57% 0.1058 -0.1532)
OKLCHoklch(70.57% 0.186 304.6)
XYZxyz(45.3940, 32.2605, 95.9120)
Luminance0.3226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7DFC #BEFC7D
analogous
#7D7FFC #BB7DFC #FA7DFC
triadic
#BB7DFC #FCBB7D #7DFCBB
tetradic
#BB7DFC #FC7D7F #BEFC7D #7DFCFA
square
#BB7DFC #FC7D7F #BEFC7D #7DFCFA
split-complementary
#BB7DFC #FCFA7D #7FFC7D
monochromatic
#7C06F9 #9C41FB #BB7DFC #DAB9FD #EFE1FE

Accessibility & contrast

On white

2.82
#BB7DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#BB7DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7DFC
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7DFC#FFFFFF#000000##000000
##BB7DFC1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#689AF9
Tritanopia (blue-blind)
#B094B1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bb7dfc;
/* rgb */ color: rgb(187, 125, 252);
/* oklch */ color: oklch(70.6% 0.186 304.6);
Tailwind
colors: {
  custom: {
    50: '#d2a4fe',
    500: '#bb7dfc',
    950: '#000000',
  },
}
SCSS
$custom: #bb7dfc;
$custom-light: #d2a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7dfc",
  "rgb": {
    "r": 187,
    "g": 125,
    "b": 252
  },
  "hsl": {
    "h": 269.291,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70574,
    "c": 0.1862,
    "h": 304.6
  },
  "luminance": 0.3226
}

Semantic roles & 50–950 ramp

primary
#BB7DFC
secondary
#E6F7D4
accent
#E60075
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BB7DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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