#BB7DFF#BB7DFF

#BB7DFF is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.7% C 0.190 H 304.0°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#BB7DFF
RGBrgb(187, 125, 255)
HSLhsl(269, 100%, 75%)
HSVhsv(269, 51%, 100%)
CMYKcmyk(26.7%, 51%, 0%, 0%)
CIE-LABlab(63.71, 48.60, -55.95)
CIE-LCHlch(63.71, 74.11, 310.98°)
OKLaboklab(70.74% 0.106 -0.1573)
OKLCHoklch(70.74% 0.19 304)
XYZxyz(45.8732, 32.4522, 98.4355)
Luminance0.3245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7DFF #C1FF7D
analogous
#7D80FF #BB7DFF #FC7DFF
triadic
#BB7DFF #FFBB7D #7DFFBB
tetradic
#BB7DFF #FF7D80 #C1FF7D #7DFFFC
square
#BB7DFF #FF7D80 #C1FF7D #7DFFFC
split-complementary
#BB7DFF #FFFC7D #80FF7D
monochromatic
#7B03FF #9B40FF #BB7DFF #DBBAFF #EFE0FF

Accessibility & contrast

On white

2.80
#BB7DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#BB7DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7DFF
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7DFF#FFFFFF#000000##000000
##BB7DFF1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5399FF
Deuteranopia (green-blind)
#659AFC
Tritanopia (blue-blind)
#AF95B3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bb7dff;
/* rgb */ color: rgb(187, 125, 255);
/* oklch */ color: oklch(70.7% 0.190 304.0);
Tailwind
colors: {
  custom: {
    50: '#d2a4ff',
    500: '#bb7dff',
    950: '#000000',
  },
}
SCSS
$custom: #bb7dff;
$custom-light: #d2a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7dff",
  "rgb": {
    "r": 187,
    "g": 125,
    "b": 255
  },
  "hsl": {
    "h": 268.615,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70742,
    "c": 0.1897,
    "h": 304
  },
  "luminance": 0.32452
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB7DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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