#BB7EFE#BB7EFE

#BB7EFE is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.8% C 0.187 H 304.0°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#BB7EFE
RGBrgb(187, 126, 254)
HSLhsl(269, 98%, 75%)
HSVhsv(269, 50%, 100%)
CMYKcmyk(26.4%, 50.4%, 0%, 0.4%)
CIE-LABlab(63.87, 47.84, -55.15)
CIE-LCHlch(63.87, 73.01, 310.94°)
OKLaboklab(70.84% 0.1047 -0.155)
OKLCHoklch(70.84% 0.187 304)
XYZxyz(45.8399, 32.6424, 97.6324)
Luminance0.3264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EFE #C1FE7E
analogous
#7E81FE #BB7EFE #FB7EFE
triadic
#BB7EFE #FEBB7E #7EFEBB
tetradic
#BB7EFE #FE7E81 #C1FE7E #7EFEFB
square
#BB7EFE #FE7E81 #C1FE7E #7EFEFB
split-complementary
#BB7EFE #FEFB7E #81FE7E
monochromatic
#7B05FD #9B41FE #BB7EFE #DBBBFE #EFE1FF

Accessibility & contrast

On white

2.79
#BB7EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#BB7EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7EFE
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EFE#FFFFFF#000000##000000
##BB7EFE1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5699FF
Deuteranopia (green-blind)
#679BFB
Tritanopia (blue-blind)
#AF95B2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #bb7efe;
/* rgb */ color: rgb(187, 126, 254);
/* oklch */ color: oklch(70.8% 0.187 304.0);
Tailwind
colors: {
  custom: {
    50: '#d2a5ff',
    500: '#bb7efe',
    950: '#000000',
  },
}
SCSS
$custom: #bb7efe;
$custom-light: #d2a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7efe",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 268.594,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7084,
    "c": 0.18701,
    "h": 304
  },
  "luminance": 0.32642
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB7EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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