#BB7BFE#BB7BFE

#BB7BFE is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.4% C 0.192 H 304.5°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#BB7BFE
RGBrgb(187, 123, 254)
HSLhsl(269, 98%, 74%)
HSVhsv(269, 52%, 100%)
CMYKcmyk(26.4%, 51.6%, 0%, 0.4%)
CIE-LABlab(63.25, 49.44, -56.14)
CIE-LCHlch(63.25, 74.80, 311.37°)
OKLaboklab(70.38% 0.1085 -0.1579)
OKLCHoklch(70.38% 0.192 304.5)
XYZxyz(45.4620, 31.8867, 97.5064)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7BFE #BEFE7B
analogous
#7B7DFE #BB7BFE #FC7BFE
triadic
#BB7BFE #FEBB7B #7BFEBB
tetradic
#BB7BFE #FE7B7D #BEFE7B #7BFEFC
square
#BB7BFE #FE7B7D #BEFE7B #7BFEFC
split-complementary
#BB7BFE #FEFC7B #7DFE7B
monochromatic
#7C02FD #9C3EFE #BB7BFE #DAB8FE #EFE1FF

Accessibility & contrast

On white

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

On black

7.38
#BB7BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7BFE
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7BFE#FFFFFF#000000##000000
##BB7BFE1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5097FF
Deuteranopia (green-blind)
#6499FB
Tritanopia (blue-blind)
#B093B1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bb7bfe;
/* rgb */ color: rgb(187, 123, 254);
/* oklch */ color: oklch(70.4% 0.192 304.5);
Tailwind
colors: {
  custom: {
    50: '#d2a3ff',
    500: '#bb7bfe',
    950: '#000000',
  },
}
SCSS
$custom: #bb7bfe;
$custom-light: #d2a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7bfe",
  "rgb": {
    "r": 187,
    "g": 123,
    "b": 254
  },
  "hsl": {
    "h": 269.313,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70379,
    "c": 0.19156,
    "h": 304.5
  },
  "luminance": 0.31886
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB7BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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