#BB7BFC#BB7BFC

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

Color values

HEX#BB7BFC
RGBrgb(187, 123, 252)
HSLhsl(270, 96%, 74%)
HSVhsv(270, 51%, 99%)
CMYKcmyk(25.8%, 51.2%, 0%, 1.2%)
CIE-LABlab(63.14, 48.98, -55.21)
CIE-LCHlch(63.14, 73.80, 311.58°)
OKLaboklab(70.27% 0.1084 -0.1551)
OKLCHoklch(70.27% 0.189 304.9)
XYZxyz(45.1434, 31.7592, 95.8285)
Luminance0.3176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7BFC #BCFC7B
analogous
#7B7BFC #BB7BFC #FB7BFC
triadic
#BB7BFC #FCBB7B #7BFCBB
tetradic
#BB7BFC #FC7B7B #BCFC7B #7BFCFB
square
#BB7BFC #FC7B7B #BCFC7B #7BFCFB
split-complementary
#BB7BFC #FCFB7B #7BFC7B
monochromatic
#7D06F7 #9C3FFB #BB7BFC #DAB7FD #F0E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB7BFC#FFFFFF#000000##000000
##BB7BFC1.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)
#5297FF
Deuteranopia (green-blind)
#6599F9
Tritanopia (blue-blind)
#B092B0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bb7bfc;
/* rgb */ color: rgb(187, 123, 252);
/* oklch */ color: oklch(70.3% 0.189 304.9);
Tailwind
colors: {
  custom: {
    50: '#d2a3fe',
    500: '#bb7bfc',
    950: '#000000',
  },
}
SCSS
$custom: #bb7bfc;
$custom-light: #d2a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7bfc",
  "rgb": {
    "r": 187,
    "g": 123,
    "b": 252
  },
  "hsl": {
    "h": 269.767,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70267,
    "c": 0.18924,
    "h": 304.9
  },
  "luminance": 0.31759
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB7BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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